Remove sics dir when creating tar for testing.

r1296 | ffr | 2006-11-16 14:39:25 +1100 (Thu, 16 Nov 2006) | 2 lines
This commit is contained in:
Ferdi Franceschini
2006-11-16 14:39:25 +11:00
committed by Douglas Clowes
parent 640e71153c
commit f2b209c04a

View File

@@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh -x
# $Revision: 1.11 $ # $Revision: 1.12 $
# $Date: 2006-11-16 03:05:23 $ # $Date: 2006-11-16 03:39:25 $
# Author: Ferdi Franceschini (ffr@ansto.gov.au) # Author: Ferdi Franceschini (ffr@ansto.gov.au)
# Last revision by $Author: dcl $ # Last revision by $Author: ffr $
# Deploys SICServer and configuration files to # Deploys SICServer and configuration files to
# an instrument control computer. # an instrument control computer.
@@ -94,7 +94,7 @@ mkdir -p $TEMPDIR/$DESTDIR
cp -a $SRCDIR/TEST_SICS/* $TEMPDIR/$DESTDIR cp -a $SRCDIR/TEST_SICS/* $TEMPDIR/$DESTDIR
rm -fr $(find $TEMPDIR/$DESTDIR -name CVS) rm -fr $(find $TEMPDIR/$DESTDIR -name CVS)
# step down to the sics directory # step down to the sics directory
DESTDIR=$DESTDIR/sics DESTDIR=$DESTDIR
mkdir -p $TEMPDIR/$DESTDIR mkdir -p $TEMPDIR/$DESTDIR
else else
DESTDIR=${3:-/usr/local}/sics DESTDIR=${3:-/usr/local}/sics