aboutsummaryrefslogtreecommitdiff
path: root/install.bat
diff options
context:
space:
mode:
Diffstat (limited to 'install.bat')
-rw-r--r--install.bat5
1 files changed, 3 insertions, 2 deletions
diff --git a/install.bat b/install.bat
index 52d21355..ffde28db 100644
--- a/install.bat
+++ b/install.bat
@@ -729,7 +729,8 @@ IF NOT "%LUA_PATH_5_3%"=="" (
729) 729)
730SET "PATH=$BINDIR;%PATH%" 730SET "PATH=$BINDIR;%PATH%"
731"$LUA_BINDIR\$LUA_INTERPRETER" "$BINDIR\]]..c..[[.lua" %* 731"$LUA_BINDIR\$LUA_INTERPRETER" "$BINDIR\]]..c..[[.lua" %*
732IF NOT "%ERRORLEVEL%"=="2" GOTO EXITLR 732SET EXITCODE=%ERRORLEVEL%
733IF NOT "%EXITCODE%"=="2" GOTO EXITLR
733 734
734REM Permission denied error, try and auto elevate... 735REM Permission denied error, try and auto elevate...
735REM already an admin? (checking to prevent loops) 736REM already an admin? (checking to prevent loops)
@@ -758,7 +759,7 @@ ECHO Now retrying as a priviledged user...
758PowerShell -Command (New-Object -com 'Shell.Application').ShellExecute('%TMPFILE%', '', '', 'runas') 759PowerShell -Command (New-Object -com 'Shell.Application').ShellExecute('%TMPFILE%', '', '', 'runas')
759 760
760:EXITLR 761:EXITLR
761ENDLOCAL 762exit /b %EXITCODE%
762]]) 763]])
763 f:close() 764 f:close()
764 print(S"Created LuaRocks command: $BINDIR\\"..c..".bat") 765 print(S"Created LuaRocks command: $BINDIR\\"..c..".bat")