diff --git a/scripts/kokoro.sh b/scripts/kokoro.sh index 340d640..2c3c5a6 100755 --- a/scripts/kokoro.sh +++ b/scripts/kokoro.sh @@ -23,7 +23,7 @@ make clean progs=(docker docker-compose bazel npm curl) for p in "${progs[@]}" do - command -v $p > /dev/null 2>&1 || \ + command -v "$p" > /dev/null 2>&1 || \ { echo >&2 "$p is required but not installed. Aborting."; exit 1; } done diff --git a/scripts/test-proxy.sh b/scripts/test-proxy.sh index ad77d64..6484d71 100755 --- a/scripts/test-proxy.sh +++ b/scripts/test-proxy.sh @@ -45,6 +45,6 @@ s1=$(echo "$out" | base64 -d | \ echo "$s1" | base64 -d | xxd # Take the 28 bytes we cut out above, the base64-encoded string should be this -if [ "$s1" != "AAAAAAcKBWhlbGxvgGdycGMtc3RhdHVzOjANCg==" ]; then +if [[ "$s1" != "AAAAAAcKBWhlbGxvgGdycGMtc3RhdHVzOjANCg==" ]]; then exit 1; fi