mirror of
https://github.com/love2d/love-appimage-source.git
synced 2026-08-12 00:30:50 +02:00
Update exported LUA_PATH to account LuaJIT 2.1 no longer beta.
Fixes love2d/love#2254
This commit is contained in:
@@ -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=";"
|
||||||
|
|||||||
Reference in New Issue
Block a user