From f0ec7dedbd87bb13044af02903b2093bfbfda37c Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 30 Apr 2022 16:01:05 +0200 Subject: [PATCH] replaced checking first arg with any arg --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 4e1f21f..01fa8d2 100644 --- a/build.sh +++ b/build.sh @@ -18,7 +18,7 @@ output="out/why2" flags="-ljson-c -lcurl" # Check for debug flag -if [[ "$1" == "debug" ]]; then +if [[ "$*" == "debug" ]]; then flags="$flags -g" echo "Using debug flag" fi