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