[Swift-commit] r7467 - trunk/bin
davidk at ci.uchicago.edu
davidk at ci.uchicago.edu
Fri Jan 10 10:10:04 CST 2014
Author: davidk
Date: 2014-01-10 10:10:00 -0600 (Fri, 10 Jan 2014)
New Revision: 7467
Modified:
trunk/bin/swiftrun
Log:
When setting workdirectory to $RUNDIRECTORY, don't create if using -listconfig
Modified: trunk/bin/swiftrun
===================================================================
--- trunk/bin/swiftrun 2014-01-10 04:22:20 UTC (rev 7466)
+++ trunk/bin/swiftrun 2014-01-10 16:10:00 UTC (rev 7467)
@@ -372,7 +372,9 @@
$run_directory = getcwd() . "/" . sprintf "run%03s", $run_number;
$ENV{RUNDIRECTORY} = "$run_directory";
-mkdir($run_directory) || &swiftquit("Unable to create run directory $run_directory");
+if(!$option_listconfig) {
+ mkdir($run_directory) || &swiftquit("Unable to create run directory $run_directory");
+}
# Set @sites array from comma separated list of sites
if(defined($option_siteslist)) {
More information about the Swift-commit
mailing list