summaryrefslogtreecommitdiff
path: root/Makefile.distrib
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2004-02-25 14:10:37 +0000
committermichelou <michelou@epfl.ch>2004-02-25 14:10:37 +0000
commit6c399e82739296bf05777b8f3f8263ea8e98251b (patch)
tree0c144d07bb1025e191e6e8acd8cc469eb794fb15 /Makefile.distrib
parent646bedd83cf23eb2f28673f20844b9a795453326 (diff)
downloadscala-6c399e82739296bf05777b8f3f8263ea8e98251b.tar.gz
scala-6c399e82739296bf05777b8f3f8263ea8e98251b.tar.bz2
scala-6c399e82739296bf05777b8f3f8263ea8e98251b.zip
- fixed bug #298 (batch commands on Windows).
Diffstat (limited to 'Makefile.distrib')
-rw-r--r--Makefile.distrib2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.distrib b/Makefile.distrib
index 81ce68df0a..e4c7797c77 100644
--- a/Makefile.distrib
+++ b/Makefile.distrib
@@ -148,7 +148,7 @@ install-windows : install
srcfile="$(PROJECT_SUPPORTDIR)/windows/scala_wrapper"; \
nixfile="$(INSTALL_PREFIX)/bin/$$file"; \
winfile="$(INSTALL_PREFIX)/bin/$$file.bat"; \
- nixexec=`SCALA_EXEC=echo $$nixfile`; \
+ nixexec=`SCALA_EXEC=echo SCALA_CLASSPATH=\"%CLASSPATH%\" $$nixfile`; \
winexec="$$nixexec"; \
winexec=`echo "$$winexec" | sed -es"#$$root#\"%SCALA_HOME%\"#g"`; \
winexec=`echo "$$winexec" | tr '/' '\\\\' | tr ':' ';'`; \