diff options
author | Etiene Dalcol <dalcol@etiene.net> | 2016-01-24 09:27:28 +0100 |
---|---|---|
committer | Etiene Dalcol <dalcol@etiene.net> | 2016-01-24 09:27:28 +0100 |
commit | 41523211bf2148dd7cb3ff745584fccc1233dc1b (patch) | |
tree | 56786aefd2cbc4d8f393ca1b4190cc2b2edae532 | |
parent | 778aa944f21275e5926f05789b0babe656cf5cf8 (diff) | |
download | valua-41523211bf2148dd7cb3ff745584fccc1233dc1b.tar.gz valua-41523211bf2148dd7cb3ff745584fccc1233dc1b.tar.bz2 valua-41523211bf2148dd7cb3ff745584fccc1233dc1b.zip |
Update LuaJIT installation URL
-rw-r--r-- | .travis/setup_lua.sh | 10 |
1 files 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 |