Update build.sh appended prefix "X" to string variable comparisons (#1710)
It is recommended to use the letter 'X' when comparing strings because if the string is a - it causes issues according to the book with the turtle.
This commit is contained in:
parent
3fa480dd87
commit
d7ae3a21b3
4
build.sh
4
build.sh
|
@ -92,9 +92,9 @@ else
|
||||||
make_flags="$make_flags -j$parallel"
|
make_flags="$make_flags -j$parallel"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "-t" ]; then
|
if [ "X$1" = "X-t" ]; then
|
||||||
build_drogon 1
|
build_drogon 1
|
||||||
elif [ "$1" = "-tshared" ]; then
|
elif [ "X$1" = "X-tshared" ]; then
|
||||||
build_drogon 2
|
build_drogon 2
|
||||||
else
|
else
|
||||||
build_drogon 0
|
build_drogon 0
|
||||||
|
|
Loading…
Reference in New Issue