Changeset 579 for BAORadio/AmasNancay/trunk/proc_specmfib.sh
- Timestamp:
- Oct 20, 2011, 11:07:40 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BAORadio/AmasNancay/trunk/proc_specmfib.sh
r575 r579 114 114 115 115 #Path where the job will do temporary IO 116 if [ ${ENVIRONMENT} = "INTERACTIVE" ]; then 117 iojobpath="/sps/baoradio/AmasNancay/JEC" 118 $MKDIR -p $iojobpath 119 elif [ ${ENVIRONMENT} = "BATCH" ] ; then 120 iojobpath=${TMPBATCH} 121 else 122 $ECHO "FATAL (${scriptName}): environment is ${ENVIRONMENT} not allowed" 123 touch ${tmppublicpath}/proc_script.finished 124 exit 1 125 fi 116 . ${SCRIPTPATH}/set_iojobpath.sh 117 iojobpath=$(set_iojobpath) 126 118 cd ${iojobpath} 127 119 … … 161 153 $CAT ${OUT1} 162 154 $ECHO "DEBUG (${scriptName}): END" 163 #JEC 29/9/11 avoid finished stuff164 # touch ${tmppublicpath}/proc_script.finished165 155 exit 1 166 156 fi … … 173 163 $CAT ${OUT1} 174 164 $ECHO "DEBUG (${scriptName}): END" 175 #JEC 29/9/11 avoid finished stuff176 # touch ${tmppublicpath}/proc_script.finished177 165 exit 1 178 166 fi … … 208 196 $ECHO "FATAL (${scriptName}): error while iget:" 209 197 $ECHO $igetStatus 210 #JEC 29/9/11 avoid finished stuff211 # touch ${tmppublicpath}/proc_script.finished212 198 exit 1 213 199 fi … … 250 236 if [ ${#cycleArray[*]} -eq 0 -o ${#filesArray[*]} -eq 0 ]; then 251 237 $ECHO "FATAL (${scriptName}): no header file selected (${#cycleArray[*]}, ${#filesArray[*]})" 252 #JEC 29/9/11 avoid finished stuff253 # touch ${tmppublicpath}/proc_script.finished254 238 exit 1 255 239 else … … 374 358 $ECHO "FATAL (${scriptName}): type of processing" 375 359 usage 376 #JEC 29/9/11 avoid finished stuff377 # touch ${tmppublicpath}/proc_script.finished378 360 exit 1 379 361 ;; … … 436 418 if [ ! -e $prg ]; then 437 419 $ECHO "FATAL (${scriptName}): $prg not found" 438 #JEC 29/9/11 avoid finished stuff439 # touch ${tmppublicpath}/proc_script.finished440 420 exit 1 441 421 fi … … 467 447 $ECHO "FATAL (${scriptName}): error while iget:" 468 448 $ECHO $igetStatus 469 #JEC 29/9/11 avoid finished stuff470 # touch ${tmppublicpath}/${jobBatchName}.finished471 449 exit 1 472 450 fi … … 545 523 $ECHO "FATAL (${scriptName}): error while get signals" 546 524 $ECHO $getSignals 547 #JEC 29/9/11 avoid finished stuff548 # touch ${tmppublicpath}/${jobBatchName}.finished549 525 exit 1 550 526 fi … … 588 564 # 589 565 $ECHO "DEBUG (${scriptName}): END loop on cycles" 590 # 591 #JEC 29/9/11 avoid finished stuff 592 #touch ${tmppublicpath}/proc_script.finished 566 593 567 exit 0
Note: See TracChangeset
for help on using the changeset viewer.