[Swift-commit] r7381 - branches/release-0.95/src/org/griphyn/vdl/karajan

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Fri Dec 6 14:00:37 CST 2013


Author: davidk
Date: 2013-12-06 14:00:37 -0600 (Fri, 06 Dec 2013)
New Revision: 7381

Modified:
   branches/release-0.95/src/org/griphyn/vdl/karajan/VDSTaskTransformer.java
Log:
Fix for bug #1139


Modified: branches/release-0.95/src/org/griphyn/vdl/karajan/VDSTaskTransformer.java
===================================================================
--- branches/release-0.95/src/org/griphyn/vdl/karajan/VDSTaskTransformer.java	2013-12-06 19:58:42 UTC (rev 7380)
+++ branches/release-0.95/src/org/griphyn/vdl/karajan/VDSTaskTransformer.java	2013-12-06 20:00:37 UTC (rev 7381)
@@ -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