aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Burgueño <ignaciob@inconcertcc.com>2015-03-27 12:45:24 -0300
committerIgnacio Burgueño <ignaciob@inconcertcc.com>2015-03-27 12:45:24 -0300
commitff68e9775ac2e5f9aae21535688d5355e4173e61 (patch)
tree8df6e8fda35c85580cefe73b3941e1e10d3dd48d
parente31c46b8430b10cdf01c2570de810b028c5895a7 (diff)
downloadluarocks-ff68e9775ac2e5f9aae21535688d5355e4173e61.tar.gz
luarocks-ff68e9775ac2e5f9aae21535688d5355e4173e61.tar.bz2
luarocks-ff68e9775ac2e5f9aae21535688d5355e4173e61.zip
Fallback for platform variable
-rw-r--r--.appveyor/install.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/.appveyor/install.bat b/.appveyor/install.bat
index db4800f9..a2aefdd2 100644
--- a/.appveyor/install.bat
+++ b/.appveyor/install.bat
@@ -15,6 +15,9 @@ if "%LUA_VER%" NEQ "" (
15 set LUA_SHORTV=5.1 15 set LUA_SHORTV=5.1
16) 16)
17 17
18:: unless we specify a platform on appveyor.yaml, we won't get this variable
19if not defined platform set platform=x86
20
18:: defines LUA_DIR so Cmake can find this Lua install 21:: defines LUA_DIR so Cmake can find this Lua install
19if "%LUA%"=="luajit" ( 22if "%LUA%"=="luajit" (
20 set LUA_DIR=c:\lua\%platform%\lj%LJ_SHORTV% 23 set LUA_DIR=c:\lua\%platform%\lj%LJ_SHORTV%