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

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Wed Mar 19 13:52:10 CDT 2014


Author: ketan
Date: 2014-03-19 13:52:10 -0500 (Wed, 19 Mar 2014)
New Revision: 7735

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

Modified: SwiftApps/swift-galaxy/swift/swiftforeachlist.sh
===================================================================
--- SwiftApps/swift-galaxy/swift/swiftforeachlist.sh	2014-03-19 18:30:25 UTC (rev 7734)
+++ SwiftApps/swift-galaxy/swift/swiftforeachlist.sh	2014-03-19 18:52:10 UTC (rev 7735)
@@ -104,10 +104,14 @@
 EOF
 done
 
+touch None # Create a "None" file in case user does not specify any stdin file
+
+#invoke swift
 $swift -sites.file $wdir/sites.xml -tc.file $wdir/tc -config $wdir/cf $wdir/script.swift "${swiftargs}" 2>$logfile
 EXITCODE=$?
 
-`for i in \`find $HOME/swift-sandbox -type f\`; do echo "\`basename $i\` $i"; done`
+`for i in \`find $outloc -type f\`; do echo "\`basename $i\` $i"; done`
+
 cat << EOF > $outlistfile
 `for i in $(find $outloc -type f -iname "*.out"); do echo "$i"; done`
 EOF

Modified: SwiftApps/swift-galaxy/swift/swiftforeachrange.sh
===================================================================
--- SwiftApps/swift-galaxy/swift/swiftforeachrange.sh	2014-03-19 18:30:25 UTC (rev 7734)
+++ SwiftApps/swift-galaxy/swift/swiftforeachrange.sh	2014-03-19 18:52:10 UTC (rev 7735)
@@ -112,6 +112,7 @@
 EOF
 done
 
+touch None # Create a "None" file in case user does not specify any stdin file
 $swift -sites.file $wdir/sites.xml -tc.file $wdir/tc -config $wdir/cf $wdir/script.swift "${swiftargs}" 2>$logfile
 EXITCODE=$?
 




More information about the Swift-commit mailing list