浏览代码

Update exported LUA_PATH to account LuaJIT 2.1 no longer beta.

Fixes love2d/love#2254
Miku AuahDark 3 周之前
父节点
当前提交
04de1aaabc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      love.sh

+ 1 - 1
love.sh

@@ -15,7 +15,7 @@ if [ -z "$LUA_PATH" ]; then
     LUA_PATH=";" # so ends with ;;
     LUA_PATH=";" # so ends with ;;
 fi
 fi
 # if user's LUA_PATH does not end with ;; then user doesn't want the default path ?
 # if user's LUA_PATH does not end with ;; then user doesn't want the default path ?
-export LUA_PATH="$APPDIR/share/luajit-2.1.0-beta3/?.lua;$APPDIR/share/lua/5.1/?.lua;$LUA_PATH"
+export LUA_PATH="$APPDIR/share/luajit-2.1/?.lua;$APPDIR/share/luajit-2.1.0-beta3/?.lua;$APPDIR/share/lua/5.1/?.lua;$LUA_PATH"
 
 
 if [ -z "$LUA_CPATH" ]; then
 if [ -z "$LUA_CPATH" ]; then
     LUA_CPATH=";"
     LUA_CPATH=";"