aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2022-11-29 22:05:55 -0500
committerAdam Harrison <adamdharrison@gmail.com>2022-11-29 22:05:55 -0500
commitf2290b27f158c656462a507f56fd2777183cb273 (patch)
treef3d6ec2b65507c39dd783174f0a2acfcaa1850b3 /build.sh
parentecadad5a5ba468e7c31b289ec174db6f1fc50244 (diff)
downloadlite-xl-plugin-manager-f2290b27f158c656462a507f56fd2777183cb273.tar.gz
lite-xl-plugin-manager-f2290b27f158c656462a507f56fd2777183cb273.zip
Fixed up last little bits, did some testing.
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 b1cf48f..bde63a2 100755
--- a/build.sh
+++ b/build.sh
@@ -39,7 +39,7 @@ fi
[[ "$@" != *"-llua"* ]] && CFLAGS="$CFLAGS -Ilib/lua -DMAKE_LIB=1" && SRCS="$SRCS lib/lua/onelua.c"
# Build the pre-packaged lua file into the executbale.
-[[ ! -e "lua" ]] && gcc -Ilib/lua -o lua.exe lib/lua/onelua.c -lm
+[[ ! -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 -i src/lpm.luac > src/lpm.lua.c