replaced checking first arg with any arg
This commit is contained in:
parent
42c81aacae
commit
f0ec7dedbd
2
build.sh
2
build.sh
@ -18,7 +18,7 @@ output="out/why2"
|
|||||||
flags="-ljson-c -lcurl"
|
flags="-ljson-c -lcurl"
|
||||||
|
|
||||||
# Check for debug flag
|
# Check for debug flag
|
||||||
if [[ "$1" == "debug" ]]; then
|
if [[ "$*" == "debug" ]]; then
|
||||||
flags="$flags -g"
|
flags="$flags -g"
|
||||||
echo "Using debug flag"
|
echo "Using debug flag"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user