Changeset 8494 for trunk/MagicSoft/Mars/scripts/processsequence
- Timestamp:
- 05/11/07 13:22:55 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/scripts/processsequence
r8493 r8494 99 99 } 100 100 101 subsystemdatapath=/magic/subsystemdata 101 102 102 103 interactive="yes" … … 227 228 echo "calfile: "$calfile 228 229 outpath=`dirname $calfile` 229 echo "outpath: "$outpath 230 231 merpplogpath=$outpath"/merpplogs" 232 mkdir -pv $merpplogpath 233 230 231 runno=`echo $calfile | cut -d_ -f2 | sed -e 's/^0//' | sed -e 's/^0//' | sed -e 's/^0//' ` 232 echo "finding cc and cacofile for run $runno..." 234 233 date=`date --date \`basename $calfile | cut -d_ -f1\` +%Y/%m/%d` 235 234 ccpath=$subsystempath/cc/$date 236 235 cacopath=$subsystempath/caco/$date 237 runno=`echo $calfile | cut -d_ -f2 | sed -e 's/^0//' | sed -e 's/^0//' | sed -e 's/^0//' `238 236 ccfile=`find $ccpath -name 20[0-2][0-9][01][0-9][0-3][0-9]_*${runno}_[PDCS]_*_S.rep` 239 237 source=`echo $ccfile | cut -d_ -f4` 240 cacofile=`find /magic/subsystemdata/caco/$date -name dc_20[0-2][0-9]_[01][0-9]_[0-3][0-9]_*${runno}_${source}.txt` 241 echo "runno: "$runno 242 echo "ccfile: "$ccfile 243 if [ "$ccfile" = "" ] 244 then 245 echo "no ccfile found for run "$runno 246 break 247 fi 248 echo "cacofile: "$cacofile 238 cacofile=`find $cacopath -name dc_20[0-2][0-9]_[01][0-9]_[0-3][0-9]_*${runno}_${source}.txt` 249 239 if [ "$cacofile" = "" ] 250 240 then … … 260 250 else 261 251 break 262 echo "cacofile: "$cacofile263 252 fi 264 253 done 265 254 fi 255 if [ "$ccfile" = "" ] 256 then 257 echo "no ccfile found for run "$runno 258 exit 259 fi 260 if [ "$cacofile" = "" ] 261 then 262 echo "no cacofile found for run "$runno 263 exit 264 fi 265 echo "ccfile: "$ccfile 266 echo "cacofile: "$cacofile 267 268 merpplogpath=$outpath"/merpplogs" 269 mkdir -pv $merpplogpath 266 270 267 271 program=merppccupdate
Note:
See TracChangeset
for help on using the changeset viewer.