Fix equality check for unset variables (#44099)
authorLarry Ewing <lewing@microsoft.com>
Mon, 2 Nov 2020 15:44:29 +0000 (09:44 -0600)
committerGitHub <noreply@github.com>
Mon, 2 Nov 2020 15:44:29 +0000 (09:44 -0600)
src/tests/run.sh

index dd5381f..636eff4 100755 (executable)
@@ -332,11 +332,11 @@ echo "Build Architecture            : ${buildArch}"
 echo "Build Configuration           : ${buildConfiguration}"
 
 
-if [ $buildArch = "wasm" ]; then
+if [ "$buildArch" = "wasm" ]; then
     runtestPyArguments+=("-os" "Browser")
 fi
 
-if [ $buildOS = "Android" ]; then
+if [ "$buildOS" = "Android" ]; then
     runtestPyArguments+=("-os" "Android")
 fi