From 7b358424ebad9349421acd533c2fa1cbf6cf3e3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 28 Dec 2016 16:52:56 +0100 Subject: Initial import of xtrkcad version 1:4.0.2-2 --- app/tools/oldscripts/fetchall | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 app/tools/oldscripts/fetchall (limited to 'app/tools/oldscripts/fetchall') diff --git a/app/tools/oldscripts/fetchall b/app/tools/oldscripts/fetchall new file mode 100644 index 0000000..5a88f73 --- /dev/null +++ b/app/tools/oldscripts/fetchall @@ -0,0 +1,46 @@ +#!/bin/sh + +fetchdir() { + echo fetching $1 + mkdir $1 + ( cd $1; ln -s ../$2/src/$1/RCS . ; co -r$RLSE Makefile ; co -r$RLSE `make rcssrc` ) +} + +if [ $# -lt 1 ] ; then + echo fetchall RLSE + exit 1 +fi +RLSE=$1 +if [ -d ~/xtrkcad/$RLSE ] ; then + echo ~/xtrkcad/$RLSE exists + exit 1 +fi +if [ -d ~/wlib/$RLSE ] ; then + echo ~/wlib/$RLSE exists + exit 1 +fi + +mkdir ~/xtrkcad/$RLSE +cd ~/xtrkcad/$RLSE +fetchdir bin .. +fetchdir help .. +fetchdir lib .. +fetchdir lib/demos ../.. +fetchdir lib/examples ../.. +fetchdir lib/params ../.. +fetchdir tools .. +mkdir ~/wlib/$RLSE +cd ~/wlib/$RLSE +fetchdir include .. +fetchdir mswlib .. +fetchdir test .. +fetchdir gtklib .. + +mkdir ~/xtrkcad/$RLSE/help/images.orig +cp ~/xtrkcad/dev/help/images.orig/*.png ~/xtrkcad/$RLSE/help/images.orig +cp ~/xtrkcad/dev/bin/xtrkcad.ico ~/xtrkcad/$RLSE/bin/ +cp ~/xtrkcad/dev/lib/register.* ~/xtrkcad/$RLSE/lib/ +chmod 444 ~/xtrkcad/$RLSE/lib/register.* +cp ~/wlib/dev/test/wtest.ico ~/wlib/$RLSE/test/ +ln -s ~/wlib/$RLSE ~/xtrkcad/$RLSE/bin/wlib + -- cgit v1.2.3