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