[Swift-commit] r7380 - trunk/src/org/griphyn/vdl/karajan

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Fri Dec 6 13:58:42 CST 2013


Author: davidk
Date: 2013-12-06 13:58:42 -0600 (Fri, 06 Dec 2013)
New Revision: 7380

Modified:
   trunk/src/org/griphyn/vdl/karajan/VDSTaskTransformer.java
Log:
Fix for bug #1139 


Modified: trunk/src/org/griphyn/vdl/karajan/VDSTaskTransformer.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/VDSTaskTransformer.java	2013-12-05 17:55:22 UTC (rev 7379)
+++ trunk/src/org/griphyn/vdl/karajan/VDSTaskTransformer.java	2013-12-06 19:58:42 UTC (rev 7380)
@@ -125,9 +125,10 @@
                 workdir=System.getProperty("user.dir");
             }
 
-            if (workdir!=null && !workdir.startsWith("/")){
+            if (workdir!=null && !workdir.startsWith("/") && !workdir.equals(".")){
                    workdir=System.getProperty("user.dir")+"/"+workdir;
             }
+
 			if (dir == null || !dir.startsWith("/")) {
 				if (workdir != null) {
 					if (dir == null) {




More information about the Swift-commit mailing list