001 #!/bin/sh
002 export PATH=/usr/krb5/bin:/usr/bin:/bin:${PATH}
003
004 #fkw useage of this script:
005 # this script takes three arguments:
006 # $1 = input file for processing, including protocol
007 # $2 = output filename
008 # $3 = output location where file needs to be fcp'ed
009
010 source ~cdfsoft/cdf2.shrc
011 setup cdfsoft2 5.1.0pre2
012 #
013 export TCL_LOCATION $PWD/Production/
014 ProductionExe ./Production/ProductionExe.tcl -i $1 -o $2
015 #
016 X=$?
017
018 . /local/ups/etc/setups.sh
019 setup fcp
020 fcp ./$2 $3
021
022 /bin/rm -rf *.sh Production dataDefinition $2
023 exit $X
024
Send problems or questions to cdfcode@fnal.gov