Changeset 579 for BAORadio/AmasNancay/trunk/transdate.sh
- Timestamp:
- Oct 20, 2011, 11:07:40 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BAORadio/AmasNancay/trunk/transdate.sh
r547 r579 26 26 27 27 #Path where the job will do temporary IO 28 if [ ${ENVIRONMENT} = "INTERACTIVE" ]; then 29 iojobpath="/sps/baoradio/AmasNancay/JEC" 30 $MKDIR -p $iojobpath 31 elif [ ${ENVIRONMENT} = "BATCH" ] ; then 32 iojobpath=${TMPBATCH} 33 else 34 $ECHO "FATAL (${scriptName}): environment is ${ENVIRONMENT} not allowed" 35 #JEC 29/9/11 avoid finished stuff 36 # touch ${tmppublicpath}/transdate.finished 37 exit 1 38 fi 28 . ${SCRIPTPATH}/set_iojobpath.sh 29 iojobpath=$(set_iojobpath) 39 30 cd ${iojobpath} 40 31 41 32 if [ ! $# = 1 ]; then 42 33 $ECHO "FATAL (${scriptName}) usage: ./transdate.sh <scaXYZ.sum>" 43 #JEC 29/9/11 avoid finished stuff44 # touch ${tmppublicpath}/transdate.finished45 34 exit 0 46 35 fi … … 50 39 if [ ! -e $inScaFile ]; then 51 40 $ECHO "FATAL (${scriptName}): $inScaFile not found" 52 #JEC 29/9/11 avoid finished stuff53 # touch ${tmppublicpath}/transdate.finished54 41 exit 1 55 42 fi … … 79 66 ' $inScaFile >> $inScaFile.trans 80 67 81 #JEC 29/9/11 avoid finished stuff82 #touch ${tmppublicpath}/transdate.finished83 68 exit 0
Note: See TracChangeset
for help on using the changeset viewer.