Skip to content

Commit

Permalink
ci: fix possibly unbound variable on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwchadwick committed Oct 18, 2021
1 parent 8265d18 commit b3fba6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/ci/build-libunistring.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ mkdir -p $2/source

FORCE_REBUILD=${FORCE_REBUILD:-}

MACOS_UNIVERSAL_BUILD=${MACOS_UNIVERSAL_BUILD:-}

# @TODO We are explicitly checking the static lib
if [[ -f $build_folder/lib/libunistring.a ]] && [[ -z $FORCE_REBUILD || $FORCE_REBUILD != "true" ]]; then
echo "Skipping rebuild of libunistring because lib file already exists"
Expand Down
2 changes: 2 additions & 0 deletions scripts/ci/build-openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ mkdir -p $2/source

FORCE_REBUILD=${FORCE_REBUILD:-}

MACOS_UNIVERSAL_BUILD=${MACOS_UNIVERSAL_BUILD:-}

# @TODO We are explicitly checking the static lib
if [[ -f $build_folder/lib/libcrypto.a && -f $build_folder/lib/libssl.a ]] && [[ -z $FORCE_REBUILD || $FORCE_REBUILD != "true" ]]; then
echo "Skipping rebuild of openssl because lib files already exists"
Expand Down

0 comments on commit b3fba6b

Please sign in to comment.