Fixed some shell lint warnings

This commit is contained in:
Stanley Cheung 2018-08-10 13:07:47 -07:00
parent 6da369d583
commit fd8eb14ece
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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