aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2014-04-02 19:56:46 +0200
committerThijs Schreijer <thijs@thijsschreijer.nl>2014-04-02 19:56:46 +0200
commit6f12f2520cfa5ade5a4cee071572b6075dbb2af5 (patch)
treef7e03301c7272abec65cab704a448b170d6fb141
parent489b99032f06cbdd67745be859098a10019dfad0 (diff)
downloadluarocks-6f12f2520cfa5ade5a4cee071572b6075dbb2af5.tar.gz
luarocks-6f12f2520cfa5ade5a4cee071572b6075dbb2af5.tar.bz2
luarocks-6f12f2520cfa5ade5a4cee071572b6075dbb2af5.zip
run LR itself on the Lua interpreter found during install, not on the interpreter first in the system path. Lining up with the unix shell scripts.
-rw-r--r--install.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.bat b/install.bat
index 93b159a5..6dc8cd02 100644
--- a/install.bat
+++ b/install.bat
@@ -707,7 +707,7 @@ IF NOT "%LUA_PATH_5_3%"=="" (
707 SET "LUA_PATH_5_3=$LUADIR\?.lua;$LUADIR\?\init.lua;%LUA_PATH_5_3%" 707 SET "LUA_PATH_5_3=$LUADIR\?.lua;$LUADIR\?\init.lua;%LUA_PATH_5_3%"
708) 708)
709SET "PATH=$BINDIR;%PATH%" 709SET "PATH=$BINDIR;%PATH%"
710"$LUA_INTERPRETER" "$BINDIR\]]..c..[[.lua" %* 710"$LUA_BINDIR\$LUA_INTERPRETER" "$BINDIR\]]..c..[[.lua" %*
711IF NOT "%ERRORLEVEL%"=="2" GOTO EXITLR 711IF NOT "%ERRORLEVEL%"=="2" GOTO EXITLR
712 712
713REM Permission denied error, try and auto elevate... 713REM Permission denied error, try and auto elevate...