Skip to content

Commit

Permalink
Properly test for variable definition
Browse files Browse the repository at this point in the history
  • Loading branch information
SchaichAlonso authored Feb 18, 2024
1 parent 13bde2f commit 06cec0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ fi
if [ "$UNAME" = "OpenBSD" ]; then
vcpkgUseSystem="ON"

if [ -z "$CXX" ]; then
if [ -z ${$CXX+x} ]; then
CXX=/usr/bin/clang++
fi
if [ -z "$CC" ]; then
if [ -z ${CC+x} ]; then
CC=/usr/bin/clang
fi
fi
Expand Down

0 comments on commit 06cec0e

Please sign in to comment.