Changeset 9618 for trunk/MagicSoft/Mars/datacenter/scripts/runcorsika
- Timestamp:
- 07/28/10 14:52:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runcorsika
r9605 r9618 207 207 case $check1 in 208 208 0) printprocesslog "INFO $program finished successfully for run $run file $file (return code $check1)" 209 if [ $file -gt 999 ] 210 then 211 corsikafilenew=$mcpath/$program/`printf %08d $run | cut -c 1-4`/`printf %08d $run | cut -c 5-8`/cer000`printf %06d $file | cut -c 4-6` 212 corsikafileold=$mcpath/$program/`printf %08d $run | cut -c 1-4`/`printf %08d $run | cut -c 5-8`/cer`printf %06d $file` 213 if ! mv $corsikafileold $corsikafilenew 214 then 215 printprocesslog "ERROR could not mv $corsikafileold to $corsikafilenew" 216 check=2 217 fi 218 fi 219 if ! grep 'END OF RUN' $logfile 220 then 221 printprocesslog "ERROR could not find 'END OF RUN' in $logfile => unknown error for run $run file $file " 222 check=2 223 fi 209 224 ;; 210 225 *) printprocesslog "ERROR $program failed for run $run file $file (return code $check1)"
Note:
See TracChangeset
for help on using the changeset viewer.