Now generates InstXML.tcl

r1256 | ffr | 2006-11-08 17:00:13 +1100 (Wed, 08 Nov 2006) | 2 lines
This commit is contained in:
Ferdi Franceschini
2006-11-08 17:00:13 +11:00
committed by Douglas Clowes
parent d29d5d867c
commit 4e8a7c39ac

View File

@@ -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)