From 4e8a7c39acbd30963732902a2925b43224fca4d7 Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Wed, 8 Nov 2006 17:00:13 +1100 Subject: [PATCH] Now generates InstXML.tcl r1256 | ffr | 2006-11-08 17:00:13 +1100 (Wed, 08 Nov 2006) | 2 lines --- site_ansto/instrument/deploySICS.sh | 34 +++++++++++++++-------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/site_ansto/instrument/deploySICS.sh b/site_ansto/instrument/deploySICS.sh index 47c80f5b..9cd4a7a7 100755 --- a/site_ansto/instrument/deploySICS.sh +++ b/site_ansto/instrument/deploySICS.sh @@ -1,6 +1,6 @@ #!/bin/sh -# $Revision: 1.8 $ -# $Date: 2006-11-07 01:45:20 $ +# $Revision: 1.9 $ +# $Date: 2006-11-08 06:00:13 $ # Author: Ferdi Franceschini (ffr@ansto.gov.au) # Last revision by $Author: ffr $ @@ -36,27 +36,27 @@ rm -fr ~/tmp/$DESTDIR/* # Set the destination host and the # instrument src directory case $INSTRUMENT in -hrpd|echidna) +echidna) DESTHOST=${2:-ics1-echidna.nbi.ansto.gov.au} -INSTSRC=hrpd;; -hipd|wombat) +INSTSRC=$INSTRUMENT;; +wombat) DESTHOST=${2:-ics1-wombat.nbi.ansto.gov.au} -INSTSRC=hipd;; -qld|koala) +INSTSRC=$INSTRUMENT;; +koala) DESTHOST=${2:-ics1-koala.nbi.ansto.gov.au} -INSTSRC=qld;; -reflectometer|platypus) +INSTSRC=$INSTRUMENT;; +platypus) DESTHOST=${2:-ics1-platypus.nbi.ansto.gov.au} -INSTSRC=reflectometer;; -rsd|kowari) +INSTSRC=$INSTRUMENT;; +kowari) DESTHOST=${2:-ics1-kowari.nbi.ansto.gov.au} -INSTSRC=qld;; -sans|quokka) +INSTSRC=$INSTRUMENT;; +quokka) DESTHOST=${2:-ics1-quokka.nbi.ansto.gov.au} -INSTSRC=sans;; -tas|taipan) +INSTSRC=$INSTRUMENT;; +taipan) DESTHOST=${2:-ics1-taipan.nbi.ansto.gov.au} -INSTSRC=tas;; +INSTSRC=$INSTRUMENT;; test/*) #copy TEST_SICS/fakeDMC #TESTSRC=TEST_SICS @@ -86,6 +86,8 @@ echo "You must list the files required for $INSTRUMENT in the manifest" exit 1 fi +# Generate instrument description xml +./hipadaba/gen_hpdbxml.tcl $INSTSRC # 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)