aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2023-06-20 09:14:26 -0400
committerGitHub <noreply@github.com>2023-06-20 09:14:26 -0400
commit149960eac5348ae46b5b56643d50cf69d9ac8a1c (patch)
tree64dad26552fe39c90c94b79b9b3c1fd95d42f1e7 /build.sh
parente655a6add9af02a0b40e065fc62127b92b2638f1 (diff)
downloadlite-xl-plugin-manager-149960eac5348ae46b5b56643d50cf69d9ac8a1c.tar.gz
lite-xl-plugin-manager-149960eac5348ae46b5b56643d50cf69d9ac8a1c.zip
Revert "Set variable name with xxd instead of relying on path"revert-25-PR/xxd_set_name
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 2dbc424..94e514e 100755
--- a/build.sh
+++ b/build.sh
@@ -40,7 +40,7 @@ fi
if [[ "$@" == *"-DLPM_STATIC"* ]]; then
[[ ! -e "lua.exe" ]] && gcc -Ilib/lua -o lua.exe lib/lua/onelua.c -lm
./lua.exe -e 'io.open("src/lpm.luac", "wb"):write(string.dump(assert(loadfile("src/lpm.lua"))))'
- xxd -n lpm_luac -i src/lpm.luac > src/lpm.lua.c
+ xxd -i src/lpm.luac > src/lpm.lua.c
fi
[[ $OSTYPE != 'msys'* && $CC != *'mingw'* && $CC != "emcc" ]] && CFLAGS="$CFLAGS -DLUA_USE_LINUX" && LDFLAGS="$LDFLAGS -ldl"