[Swift-commit] r3387 - branches/woz-01/bin

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Thu Jun 17 15:08:33 CDT 2010


Author: wozniak
Date: 2010-06-17 15:08:32 -0500 (Thu, 17 Jun 2010)
New Revision: 3387

Modified:
   branches/woz-01/bin/swift-plot-log
Log:
Arg list error message


Modified: branches/woz-01/bin/swift-plot-log
===================================================================
--- branches/woz-01/bin/swift-plot-log	2010-06-17 19:42:58 UTC (rev 3386)
+++ branches/woz-01/bin/swift-plot-log	2010-06-17 20:08:32 UTC (rev 3387)
@@ -5,6 +5,11 @@
 
 
 # $1 should be the pathname of the log file to plot
+if [[ $1 == "" ]] 
+  then
+  echo "No log file given!"
+  exit 1
+fi
 
 LOG_CODE_HOME="`dirname $0`/../libexec/log-processing/"
 export SWIFT_PLOT_HOME=$LOG_CODE_HOME




More information about the Swift-commit mailing list