File zbstudio.patch of Package zerobranestudio
From 3467fa72180e6f6a133311c925a5b4bda5723860 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
<Mailaender@users.noreply.github.com>
Date: Sat, 13 Jun 2020 19:13:45 +0200
Subject: [PATCH] Use system Lua.
---
zbstudio/zbstudio.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zbstudio/zbstudio.in b/zbstudio/zbstudio.in
index 68b1e103..b8e5a52d 100644
--- a/zbstudio/zbstudio.in
+++ b/zbstudio/zbstudio.in
@@ -3,4 +3,4 @@
if [[ "$(uname -m)" == "x86_64" ]]; then ARCH="x64"; else ARCH="x86"; fi
CWD="$PWD" # save the current directory, as it's going to change
-(cd "@IDE_DATADIR@"; bin/linux/$ARCH/lua src/main.lua zbstudio -cwd "$CWD" "$@" 2>/dev/null) &
+(cd "@IDE_DATADIR@"; @LUA_EXECUTABLE@ src/main.lua zbstudio -cwd "$CWD" "$@" 2>/dev/null) &