- Timestamp:
- 03/06/06 03:06:23 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks
r7568 r7572 63 63 for file in $files 64 64 do 65 pulse=`cat $file | grep "$reason1\|$reason2"` >> $scriptlog 2>&1 66 if [ ! "$pulse" = "" ] 67 then 68 path=`dirname $file` >> $scriptlog 2>&1 69 ln -vfs $setuppath/callisto/$callistorcnew $path/$callistorcseq >> $scriptlog 2>&1 70 fi 65 pulse=`cat $file | grep "$reason1\|$reason2"` >> $scriptlog 2>&1 66 sequ=`echo $file | cut -d/ -f6` 67 68 if [ ! "$pulse" = "" ] 69 then 70 if ! ls -l $callistorcseq | grep $callistorcnew >> $scriptlog 2>&1 71 then 72 # resetting the calibration 73 echo "resetting the callisto for sequence $sequ" >> $scriptlog 2>&1 74 resetlogpath=$logpath/resetcallisto 75 echo "resetlogpath: $resetlogpath" >> $scriptlog 2>&1 76 makedir $resetlogpath >> $scriptlog 2>&1 77 resetlog=$resetlogpath/reset-callisto-$sequ.log 78 79 check1=`root -q -b $macrospath/resetcolumn.C+\("\"fCallisto\""\,"\"SequenceProcessStatus\""\,"\"$sequ\""\,"\"$sequ\""\,kFALSE\) | tee $resetlog | grep int | sed -e 's/(int)//'` 80 case $check1 in 81 1) echo "check1=$check1 -> everything ok, callisto has been reset " >> $scriptlog 2>&1 82 ;; 83 *) echo "check1=$check1 -> ERROR -> step could not be resetted -> continue " >> $scriptlog 2>&1 84 continue ;; 85 esac 86 #linking callisto.rc 87 path=`dirname $file` >> $scriptlog 2>&1 88 ln -vfs $setuppath/callisto/$callistorcnew $path/$callistorcseq >> $scriptlog 2>&1 89 fi 90 fi 71 91 done 72 92
Note:
See TracChangeset
for help on using the changeset viewer.