From d7ae3a21b32ab19fe01726842866d33ddbd03b56 Mon Sep 17 00:00:00 2001 From: albaropereyra22 <141711575+albaropereyra22@users.noreply.github.com> Date: Thu, 10 Aug 2023 23:45:12 -0700 Subject: [PATCH] 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. --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index f05c0dd0..779ff57d 100755 --- a/build.sh +++ b/build.sh @@ -92,9 +92,9 @@ else make_flags="$make_flags -j$parallel" fi -if [ "$1" = "-t" ]; then +if [ "X$1" = "X-t" ]; then build_drogon 1 -elif [ "$1" = "-tshared" ]; then +elif [ "X$1" = "X-tshared" ]; then build_drogon 2 else build_drogon 0