Strip CVS directories from test deployments.

r1143 | ffr | 2006-10-13 16:32:41 +1000 (Fri, 13 Oct 2006) | 2 lines
This commit is contained in:
Ferdi Franceschini
2006-10-13 16:32:41 +10:00
committed by Douglas Clowes
parent 4ba40fd8bd
commit 89c52fd144

View File

@@ -1,6 +1,6 @@
#!/bin/sh
# $Revision: 1.4 $
# $Date: 2006-10-12 23:11:24 $
# $Revision: 1.5 $
# $Date: 2006-10-13 06:32:41 $
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
# Last revision by $Author: ffr $
@@ -13,7 +13,7 @@ usage()
echo deploySICS.sh copies SICS and the files listed
echo in the MANIFEST.TXT files to the IC host.
echo -e "Usage:\t./deploySICS.sh INSTRUMENT [TARGET_HOST TARGET_DIR]";
echo -e :\t./deploySICS.sh test/INSTRUMENT [TARGET_HOST TARGET_DIR]";
echo -e "\t./deploySICS.sh test/INSTRUMENT [TARGET_HOST TARGET_DIR]";
echo -e "\twhere INSTRUMENT can be hrpd, echidna, hipd, wombat ...";
echo -e "\tTARGET_HOST can be a remote host or 'localhost'";
echo -e "\twill create last directory in TARGET_DIR if necessary";
@@ -61,6 +61,7 @@ test/*)
#copy TEST_SICS/fakeDMC
#TESTSRC=TEST_SICS
cp -a TEST_SICS/* ~/tmp/$DESTDIR
rm -fr $(find ~/tmp/$DESTDIR -name CVS)
DESTHOST=$2
INSTSRC=$(basename $INSTRUMENT);;
esac