diff --git a/site_ansto/instrument/deploySICS.sh b/site_ansto/instrument/deploySICS.sh index a18401f5..f4bc5e0b 100755 --- a/site_ansto/instrument/deploySICS.sh +++ b/site_ansto/instrument/deploySICS.sh @@ -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-.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)