Skip to content

Commit c5b87be

Browse files
committed
infra: Fix bash comparisons
1 parent 5eb8ed6 commit c5b87be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/kokoro/steps/vtr-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
if [ -z $VTR_TEST ]; then
3+
if [ -z ${VTR_TEST+x} ]; then
44
echo "Missing $$VTR_TEST value"
55
exit 1
66
fi
@@ -10,7 +10,7 @@ if [ -z $MAX_CORES ]; then
1010
exit 1
1111
fi
1212

13-
if [ -z $VTR_TEST_OPTIONS ]; then
13+
if [ -z ${VTR_TEST_OPTIONS+x} ]; then
1414
echo "Missing $$VTR_TEST_OPTIONS value"
1515
exit 1
1616
fi

0 commit comments

Comments
 (0)