zerobranestudio/zbstudio.patch
Michael Vetter b39e2f9aa8 Accepting request 817396 from home:Mailaender:branches:devel:languages:lua
I tried to unbundle more libraries, but it seems that most of them aren't even installed in the first place.

OBS-URL: https://build.opensuse.org/request/show/817396
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/zerobranestudio?expand=0&rev=14
2020-06-30 09:17:22 +00:00

21 lines
797 B
Diff

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) &