summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-12-13 18:16:31 +0000
committermichelou <michelou@epfl.ch>2005-12-13 18:16:31 +0000
commit65e8e4cd1c640be5f5f684c0110636e7b0dd3615 (patch)
treefa05b023c194e361ab8a4a9da9799a5b56b6fe23 /sources
parent849943209eecb01b1142f8aa33c3dacc88240d17 (diff)
downloadscala-65e8e4cd1c640be5f5f684c0110636e7b0dd3615.tar.gz
scala-65e8e4cd1c640be5f5f684c0110636e7b0dd3615.tar.bz2
scala-65e8e4cd1c640be5f5f684c0110636e7b0dd3615.zip
- Windows NT and up do know the path of the exe...
- Windows NT and up do know the path of the executed batch file
Diffstat (limited to 'sources')
-rw-r--r--sources/bin/nscala.win.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/bin/nscala.win.tmpl b/sources/bin/nscala.win.tmpl
index 139d3e5374..feb4655e0f 100644
--- a/sources/bin/nscala.win.tmpl
+++ b/sources/bin/nscala.win.tmpl
@@ -9,6 +9,7 @@ rem # PARTICULAR PURPOSE.
rem ##########################################################################
if "%OS%"=="Windows_NT" @setlocal
+if "%OS%"=="Windows_NT" @set SCALA_HOME=%~dp0
if "%SCALA_HOME%" == "" goto error1
if not exist "%SCALA_HOME%\VERSION-@VERSION@" goto error2