summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compiler/scala/tools/ant/templates/generic-unix.tmpl1
-rw-r--r--src/compiler/scala/tools/ant/templates/tool-unix.tmpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/ant/templates/generic-unix.tmpl b/src/compiler/scala/tools/ant/templates/generic-unix.tmpl
index 6548ca1138..ad9fbf2f40 100644
--- a/src/compiler/scala/tools/ant/templates/generic-unix.tmpl
+++ b/src/compiler/scala/tools/ant/templates/generic-unix.tmpl
@@ -103,6 +103,7 @@ if $cygwin; then
else
format=windows
fi
+ SCALA_HOME=`cygpath --$format "$SCALA_HOME"`
MERGED_CLASSPATH=`cygpath --path --$format "$MERGED_CLASSPATH"`
BOOT_CLASSPATH=`cygpath --path --$format "$BOOT_CLASSPATH"`
fi
diff --git a/src/compiler/scala/tools/ant/templates/tool-unix.tmpl b/src/compiler/scala/tools/ant/templates/tool-unix.tmpl
index d708dc71b6..ca76eaf8e1 100644
--- a/src/compiler/scala/tools/ant/templates/tool-unix.tmpl
+++ b/src/compiler/scala/tools/ant/templates/tool-unix.tmpl
@@ -64,6 +64,7 @@ if $cygwin; then
else
format=windows
fi
+ SCALA_HOME=`cygpath --$format "$SCALA_HOME"`
EXTENSION_CLASSPATH=`cygpath --path --$format "$EXTENSION_CLASSPATH"`
BOOT_CLASSPATH=`cygpath --path --$format "$BOOT_CLASSPATH"`
fi