From b7b2bcb88eaf9db701c7435472b2586a3a3bfaf4 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Mon, 1 Nov 2021 17:20:14 -0400 Subject: [PATCH] Make the RUN_IN_PLACE setting even more clear. --- build-minetest-here.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/build-minetest-here.sh b/build-minetest-here.sh index 44d6b9b..d4dc76b 100755 --- a/build-minetest-here.sh +++ b/build-minetest-here.sh @@ -10,6 +10,22 @@ customExit(){ #fi # cd $mybuild || customExit "$0: cd build failed in '`pwd`'." +for var in "$@" +do + if [ "@$var" = "@--run-in-place" ]; then + RUN_IN_PLACE=true + fi +done + +usage(){ +cat <