aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.bat b/install.bat
index 57e3611c..b9bfcb9b 100644
--- a/install.bat
+++ b/install.bat
@@ -97,7 +97,7 @@ local function permission()
97 return exec("net session >NUL 2>&1") -- fails if not admin 97 return exec("net session >NUL 2>&1") -- fails if not admin
98end 98end
99 99
100-- rename file (full path) to backup (name only), appending number if required 100-- rename filename (full path) to backupname (name only), appending number if required
101-- returns the new name (name only) 101-- returns the new name (name only)
102local function backup(filename, backupname) 102local function backup(filename, backupname)
103 local path = filename:match("(.+)%\\.-$").."\\" 103 local path = filename:match("(.+)%\\.-$").."\\"
@@ -255,7 +255,7 @@ local function check_flags()
255 die("Cannot combine option /L with any of /LUA /BIN /LIB /INC") 255 die("Cannot combine option /L with any of /LUA /BIN /LIB /INC")
256 end 256 end
257 if vars.LUA_VERSION ~= "5.1" then 257 if vars.LUA_VERSION ~= "5.1" then
258 die("Bundled Lua version is 5.1, cannot install 5.2") 258 die("Bundled Lua version is 5.1, cannot install "..vars.LUA_VERSION)
259 end 259 end
260 end 260 end
261 if vars.LUA_VERSION ~= "5.1" then 261 if vars.LUA_VERSION ~= "5.1" then