[Swift-commit] r6576 - SwiftTutorials/CMTS_2013-06-17/bin
davidk at ci.uchicago.edu
davidk at ci.uchicago.edu
Mon Jun 17 14:21:41 CDT 2013
Author: davidk
Date: 2013-06-17 14:21:41 -0500 (Mon, 17 Jun 2013)
New Revision: 6576
Modified:
SwiftTutorials/CMTS_2013-06-17/bin/random4.sh
Log:
Updated random4.sh for checking for files
Modified: SwiftTutorials/CMTS_2013-06-17/bin/random4.sh
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/bin/random4.sh 2013-06-17 19:19:36 UTC (rev 6575)
+++ SwiftTutorials/CMTS_2013-06-17/bin/random4.sh 2013-06-17 19:21:41 UTC (rev 6576)
@@ -4,8 +4,8 @@
range=${2:-30000}
n=${3:-10}
-if [ -f "$2" ]; then
- range=$( cat $2 )
+if [ -f "$3" ]; then
+ n=$( cat $3 )
fi
sleep $runtime
More information about the Swift-commit
mailing list