From f1026579291505a1a5b78c9ae9685c71da1cc971 Mon Sep 17 00:00:00 2001 From: "Vadim A. Misbakh-Soloviov" Date: Mon, 10 Jun 2019 00:22:40 +0300 Subject: [PATCH] travis: kicking lj --- .travis/setup_lua.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis/setup_lua.sh b/.travis/setup_lua.sh index efbb29d..e94e0d6 100644 --- a/.travis/setup_lua.sh +++ b/.travis/setup_lua.sh @@ -25,8 +25,6 @@ LUAJIT="no" if [ "${LUA:0:6}" == "luajit" ]; then LUAJIT="yes" - LJ_V="${LUA##luajit}" - [[ -z "${LJ_V}" ]] && LJ_V="2.0" fi mkdir -p "${LUA_HOME_DIR}" @@ -35,6 +33,8 @@ if [ "${LUAJIT}" == "yes" ]; then if [ "${LUA}" == "luajit" ]; then curl -LSs "https://github.com/LuaJIT/LuaJIT/archive/v${LUAJIT_VERSION}.tar.gz" | tar xz else + LJ_V="${LUA##luajit}" + [[ -z "${LJ_V}" ]] && LJ_V="2.0" git clone https://github.com/LuaJIT/LuaJIT.git -b "v${LJ_V}" "${LUAJIT_BASE}" fi