[Swift-commit] r2364 - log-processing/bin

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Wed Dec 10 10:30:41 CST 2008


Author: benc
Date: 2008-12-10 10:30:40 -0600 (Wed, 10 Dec 2008)
New Revision: 2364

Modified:
   log-processing/bin/swift-plot-log
Log:
allow a non-default target to be specified to swift-plot-log to override default webpage generation target

Modified: log-processing/bin/swift-plot-log
===================================================================
--- log-processing/bin/swift-plot-log	2008-12-10 15:49:40 UTC (rev 2363)
+++ log-processing/bin/swift-plot-log	2008-12-10 16:30:40 UTC (rev 2364)
@@ -40,7 +40,11 @@
  MAKETARGETS="webpage.info"
 fi
 
+if [ "X$2" = "X" ]; then
 make $MAKEENV SDL=${ORIGDIR}/report-${LOG_FILE_BASE} LOG=$LOG_FILE_PATH clean webpage.kara webpage.weights karatasks.JOB_SUBMISSION.Queue.transitions karatasks.JOB_SUBMISSION.Queue.event karatasks.JOB_SUBMISSION.eip  $MAKETARGETS webpage distribute
+else
+make $MAKEENV SDL=${ORIGDIR}/report-${LOG_FILE_BASE} LOG=$LOG_FILE_PATH clean $2
+fi
 
 # mv report-$LOG_FILE_BASE $LOG_DIRECTORY/
 




More information about the Swift-commit mailing list