aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis/setup_lua.sh10
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