diff options
-rw-r--r-- | .appveyor/build.bat | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.appveyor/build.bat b/.appveyor/build.bat index 48e72514..a4ff6378 100644 --- a/.appveyor/build.bat +++ b/.appveyor/build.bat | |||
@@ -18,9 +18,8 @@ if not defined LUAROCKS_VER set LUAROCKS_VER=2.2.1 | |||
18 | set LUAROCKS_SHORTV=%LUAROCKS_VER:~0,3% | 18 | set LUAROCKS_SHORTV=%LUAROCKS_VER:~0,3% |
19 | 19 | ||
20 | if not defined LR_EXTERNAL set LR_EXTERNAL=c:\external | 20 | if not defined LR_EXTERNAL set LR_EXTERNAL=c:\external |
21 | if not defined LUAROCKS_INSTALL set LUAROCKS_INSTALL=%LUA_DIR%\LuaRocks | 21 | if not defined LR_ROOT set LR_ROOT=%LUA_DIR%\LuaRocks |
22 | if not defined LR_ROOT set LR_ROOT=%LUAROCKS_INSTALL%\%LUAROCKS_SHORTV% | 22 | if not defined LR_SYSTREE set LR_SYSTREE=%LR_ROOT%\systree |
23 | if not defined LR_SYSTREE set LR_SYSTREE=%LUAROCKS_INSTALL%\systree | ||
24 | 23 | ||
25 | :: | 24 | :: |
26 | :: ========================================================= | 25 | :: ========================================================= |
@@ -35,7 +34,7 @@ if not exist %LUA_DIR%\bin\%LUA%.exe call :die "Missing Lua interpreter at %LUA_ | |||
35 | :: ========================================================= | 34 | :: ========================================================= |
36 | 35 | ||
37 | cd %APPVEYOR_BUILD_FOLDER% | 36 | cd %APPVEYOR_BUILD_FOLDER% |
38 | call install.bat /LUA %LUA_DIR% /Q /LV %LUA_SHORTV% /P "%LUAROCKS_INSTALL%" /TREE "%LR_SYSTREE%" | 37 | call install.bat /LUA %LUA_DIR% /Q /LV %LUA_SHORTV% /P "%LR_ROOT%" /TREE "%LR_SYSTREE%" |
39 | 38 | ||
40 | if not exist "%LR_ROOT%" call :die "LuaRocks not found at %LR_ROOT%" | 39 | if not exist "%LR_ROOT%" call :die "LuaRocks not found at %LR_ROOT%" |
41 | 40 | ||