From 41523211bf2148dd7cb3ff745584fccc1233dc1b Mon Sep 17 00:00:00 2001 From: Etiene Dalcol Date: Sun, 24 Jan 2016 09:27:28 +0100 Subject: Update LuaJIT installation URL --- .travis/setup_lua.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis/setup_lua.sh b/.travis/setup_lua.sh index 5908085..8a07c16 100644 --- a/.travis/setup_lua.sh +++ b/.travis/setup_lua.sh @@ -38,11 +38,7 @@ mkdir -p "$LUA_HOME_DIR" if [ "$LUAJIT" == "yes" ]; then - if [ "$LUA" == "luajit" ]; then - curl http://luajit.org/download/$LUAJIT_BASE.tar.gz | tar xz; - else - git clone http://luajit.org/git/luajit-2.0.git $LUAJIT_BASE; - fi + git clone https://github.com/LuaJIT/LuaJIT $LUAJIT_BASE; cd $LUAJIT_BASE @@ -50,6 +46,10 @@ if [ "$LUAJIT" == "yes" ]; then git checkout v2.1; fi + if [ "$LUA" == "luajit" ]; then + git checkout tags/v2.0.3; + fi + make && make install PREFIX="$LUA_HOME_DIR" if [ "$LUA" == "luajit2.1" ]; then -- cgit v1.2.3-70-g09d2