From e3f4e53320cb1da93fb7c25bce0129314a79a812 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Mon, 27 May 2024 09:48:10 -0300 Subject: Fix issues in build.sh --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index cdff7bd..1a9a1ec 100755 --- a/build.sh +++ b/build.sh @@ -1,11 +1,11 @@ #!/bin/sh -LUA_INTERPRETER=${LUA_INTERPRETER:=lua} +LUA_INTERPRETER=${LUA_INTERPRETER:-lua} case "$LUA_INTERPRETER" in /*) ;; *) - ENV_WRAPPER=${ENV_WRAPPER:="$(command -v env)"} + ENV_WRAPPER=${ENV_WRAPPER:-"$(command -v env)"} ;; esac @@ -13,7 +13,7 @@ do_build() { mkdir -p out/lua/cratera/ || exit 1 mkdir -p out/bin || exit 1 # worst tool for this job - cp -r src/cratera/* out/lua/cratera/ || exit 1 + cp -R src/cratera/* out/lua/cratera/ || exit 1 if [ "$ENV_WRAPPER" = '' ]; then printf "#!%s\n" "$LUA_INTERPRETER" >out/bin/cratera || exit 1 else -- cgit 1.4.1