mirror of https://github.com/grpc/grpc-web.git
Fixed some shell lint warnings
This commit is contained in:
parent
6da369d583
commit
fd8eb14ece
|
@ -23,7 +23,7 @@ make clean
|
||||||
progs=(docker docker-compose bazel npm curl)
|
progs=(docker docker-compose bazel npm curl)
|
||||||
for p in "${progs[@]}"
|
for p in "${progs[@]}"
|
||||||
do
|
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; }
|
{ echo >&2 "$p is required but not installed. Aborting."; exit 1; }
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,6 @@ s1=$(echo "$out" | base64 -d | \
|
||||||
echo "$s1" | base64 -d | xxd
|
echo "$s1" | base64 -d | xxd
|
||||||
|
|
||||||
# Take the 28 bytes we cut out above, the base64-encoded string should be this
|
# 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;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue