diff --git a/.travis/setup_lua.sh b/.travis/setup_lua.sh index 7d8f666..2e0e29c 100644 --- a/.travis/setup_lua.sh +++ b/.travis/setup_lua.sh @@ -23,7 +23,7 @@ mkdir "${HOME}/.lua" -p LUAJIT="no" -if [ "${LUA:1:6}" == "luajit" ]; then +if [ "${LUA:0:6}" == "luajit" ]; then LUAJIT="yes" LJ_BRANCH="${LUA##luajit}" fi