[Swift-commit] r7533 - SwiftApps/swift-galaxy/swift

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Thu Jan 30 20:19:44 CST 2014


Author: ketan
Date: 2014-01-30 20:19:44 -0600 (Thu, 30 Jan 2014)
New Revision: 7533

Modified:
   SwiftApps/swift-galaxy/swift/swiftforeachrange.sh
Log:
small fix

Modified: SwiftApps/swift-galaxy/swift/swiftforeachrange.sh
===================================================================
--- SwiftApps/swift-galaxy/swift/swiftforeachrange.sh	2014-01-31 02:03:11 UTC (rev 7532)
+++ SwiftApps/swift-galaxy/swift/swiftforeachrange.sh	2014-01-31 02:19:44 UTC (rev 7533)
@@ -19,9 +19,11 @@
 shift
 stepsize=$1
 shift
-logfile=$1
+outloc=$1
 shift
 outlistfile=$1
+shift
+logfile=$1
 
 cat << EOF > /tmp/script.swift
 type file;
@@ -32,8 +34,8 @@
 
 file exec<"$executable">;
 foreach i in [$rstart:$rend:$stepsize]{
-    file out <single_file_mapper; file=@strcat("$outloc", "/", l, ".", i, ".out")>;
-    file err <single_file_mapper; file=@strcat("$outloc", "/", l, ".", i, ".err")>;
+    file out <single_file_mapper; file=@strcat("$outloc", "/", ".", i, ".out")>;
+    file err <single_file_mapper; file=@strcat("$outloc", "/", ".", i, ".err")>;
     (out,err) = anapp(exec, i);
 }
 EOF




More information about the Swift-commit mailing list