Skip to content

Commit

Permalink
Fix unset var check
Browse files Browse the repository at this point in the history
  • Loading branch information
casouri committed Apr 8, 2024
1 parent 257b5a1 commit 0380588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ else
fi

### Copy out
if [[ -v INSTALL_DIR ]]; then
if [ -z "${INSTALL_DIR+x}" ]; then
dist_dir="${INSTALL_DIR}"
else
dist_dir="${topdir}/dist"
Expand Down

0 comments on commit 0380588

Please sign in to comment.