4 if [ -z $JPP_DIR ];
then
5 echo "Variable JPP_DIR undefined."
9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null
13 set_array CALIBRATION tcal rcal pcal ccal acal
scal
16 usage "$script <archive> <variant> <detector file> <first run> <last run> [(calibration)+]"\
17 "\nPut calibration data into archive."\
18 "\nThe optional arguments refer to a list of specific" \
"${^CALIBRATION}\" "calibrations.
"
21 if (( $# >= 5 )); then
24 set_array CALIBRATION $argv[6,-1]
27 set_array RUNS $argv[4] $argv[5]
28 set_variable DETECTOR $argv[3]
29 set_variable VARIANT $argv[2]
30 set_variable ARCHIVE $argv[1]
37 rm -f $WORKDIR/[a-z]cal.txt >& /dev/null
44 eval `JPrintDetector -a $DETECTOR -O IDENTIFIER`
53 for KEY in $CALIBRATION[*]; do
54 putFile.sh $WORKDIR/${KEY}.txt $ARCHIVE $DETECTOR_ID $RUNS[1] $RUNS[2] $KEY $VARIANT
clean eval JPrintDetector a $DETECTOR O IDENTIFIER for CALSET in tcal rcal pcal ccal acal scal
*fatal Wrong number of arguments
usr share Modules init zsh export TMPDIR
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null
#define DEBUG(A)
Message macros.