reorder invocation and set executable permission

r1363 | dcl | 2006-12-11 11:06:18 +1100 (Mon, 11 Dec 2006) | 2 lines
This commit is contained in:
Douglas Clowes
2006-12-11 11:06:18 +11:00
parent 5df5962065
commit bc987b8b63

View File

@@ -1,6 +1,6 @@
#!/bin/sh
# $Revision: 1.16 $
# $Date: 2006-11-22 06:36:33 $
# $Revision: 1.17 $
# $Date: 2006-12-11 00:06:18 $
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
# Last revision by $Author: dcl $
@@ -17,7 +17,7 @@ Usage:
./deploySICS.sh [-n] INSTRUMENT [TARGET_HOST [TARGET_DIR]]
where
-n if present inhibits the actual deployment (for testing the script)
INSTRUMENT can be hrpd, echidna, hipd, wombat, ...
INSTRUMENT can be hrpd, echidna, hipd, wombat, ... (not "./xxx")
or test/INSTRUMENT or INSTRUMENT/test for test deployment
TARGET_HOST can be a remote host or 'localhost'
defaults to ics1-<instrument>.nbi... or ics1-test.nbi... for test
@@ -146,8 +146,10 @@ exit 1
fi
# Generate instrument description xml
./hipadaba/gen_hpdbxml.tcl $INSTRUMENT
chmod +x ./hipadaba/gen_hipadaba_config.tcl
chmod +x ./hipadaba/gen_hpdbxml.tcl
./hipadaba/gen_hipadaba_config.tcl $INSTSRC
./hipadaba/gen_hpdbxml.tcl $INSTRUMENT
# Get list of files to copy
COMMON=$(for f in $(cat $SRCDIR/MANIFEST.TXT); do echo -n "$SRCDIR/$f "; done)
INSTSPEC=$(for f in $(cat $INSTSRC/MANIFEST.TXT); do echo -n "$INSTSRC/$f "; done)