[Swift-commit] r2685 - trunk/bin

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Mar 16 08:14:42 CDT 2009


Author: benc
Date: 2009-03-16 08:14:41 -0500 (Mon, 16 Mar 2009)
New Revision: 2685

Modified:
   trunk/bin/swift-plot-log
Log:
Make swift-plot-log take multiple targets when used in make-like mode

Modified: trunk/bin/swift-plot-log
===================================================================
--- trunk/bin/swift-plot-log	2009-03-15 17:15:40 UTC (rev 2684)
+++ trunk/bin/swift-plot-log	2009-03-16 13:14:41 UTC (rev 2685)
@@ -43,8 +43,9 @@
 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
-cp $2 $ORIGDIR/
+shift
+make $MAKEENV SDL=${ORIGDIR}/report-${LOG_FILE_BASE} LOG=$LOG_FILE_PATH clean $@
+cp $@ $ORIGDIR/
 fi
 
 # mv report-$LOG_FILE_BASE $LOG_DIRECTORY/




More information about the Swift-commit mailing list