summaryrefslogtreecommitdiff
path: root/sources/bin
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-12-13 18:15:57 +0000
committermichelou <michelou@epfl.ch>2005-12-13 18:15:57 +0000
commit849943209eecb01b1142f8aa33c3dacc88240d17 (patch)
tree6ccf2180a5b1b513ef86381646381f3186958fda /sources/bin
parent676477e2f54a993d609fe9f0312a91a134b0e1ae (diff)
downloadscala-849943209eecb01b1142f8aa33c3dacc88240d17.tar.gz
scala-849943209eecb01b1142f8aa33c3dacc88240d17.tar.bz2
scala-849943209eecb01b1142f8aa33c3dacc88240d17.zip
- Windows NT and up do know the path of the exe...
- Windows NT and up do know the path of the executed batch
Diffstat (limited to 'sources/bin')
-rw-r--r--sources/bin/nscala-tool.win.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/bin/nscala-tool.win.tmpl b/sources/bin/nscala-tool.win.tmpl
index 0e6a5cdb70..ff9f7475c5 100644
--- a/sources/bin/nscala-tool.win.tmpl
+++ b/sources/bin/nscala-tool.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