Skip to content

Commit

Permalink
C++ Client: improve proto build script test for missing envars
Browse files Browse the repository at this point in the history
  • Loading branch information
kosak committed Nov 8, 2023
1 parent 68b63b2 commit d89cff3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euxo pipefail

if [ -z "$PROTOC_BIN" ] && [ -z "$DHCPP" ]; then
if [ -z ${PROTOC_BIN:+x} ] && [ -z ${DHCPP:+x} ]; then
echo "$0: At least one of the environment variables 'PROTOC_BIN' and 'DHCPP' must be defined, aborting." 1>&2
exit 1
fi
Expand Down

0 comments on commit d89cff3

Please sign in to comment.