Skip to content

Commit 546cb2e

Browse files
committed
moar fixup
1 parent f54fb0b commit 546cb2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/protobuf_codegen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ if [[ $(protoc-gen-go-grpc --version | cut -f2 -d' ') != "${PROTOC_GEN_GO_GRPC_V
4141
fi
4242

4343
TARGET=$PWD/proto
44-
if [ -n "$1" ]; then
4544
TARGET="$1"
45+
if [ -n "${1:-}" ]; then
4646
fi
4747

4848
# move to api directory

scripts/tests.upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ echo "running upgrade tests against the local cluster with ${NEW_BINARY}"
9696
pkill -P ${PID} || true
9797
kill -2 ${PID}
9898

99-
if [[ ${EXIT_CODE} -gt 0 ]]; then
99+
if [[ "${EXIT_CODE:-}" -gt 0 ]]; then
100100
echo "FAILURE with exit code ${EXIT_CODE}"
101101
exit ${EXIT_CODE}
102102
else

0 commit comments

Comments
 (0)