fixed possible bash problems

This commit is contained in:
Václav Šmejkal 2022-04-30 15:58:57 +02:00
parent df1d0dfa31
commit 42c81aacae

View File

@ -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 [[ "$1" == "debug" ]]; then
flags="$flags -g" flags="$flags -g"
echo "Using debug flag" echo "Using debug flag"
fi fi