Skip to content

Commit

Permalink
fixed non-integer VERBOSE variable errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pvelissariou1 committed Jul 4, 2022
1 parent 328cb87 commit 2506165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ PROJECT_DIR=${MY_PROJECT_DIR:-}

[ -n "${MY_INSTALL_DIR:+1}" ] && INSTALL_DIR=${MY_INSTALL_DIR:-}

[ ${MY_VERBOSE:-0} -ge 1 ] && VERBOSE=${MY_VERBOSE}
[ -n "${MY_VERBOSE:+1}" ] && VERBOSE=${MY_VERBOSE}
##########


Expand Down Expand Up @@ -191,7 +191,7 @@ else
unset INSTALL_DIR
fi

if [ ${VERBOSE:-0} -ge 1 ]; then
if [ -n "${VERBOSE:+1}" ]; then
export VERBOSE=${VERBOSE}
else
unset VERBOSE
Expand Down

0 comments on commit 2506165

Please sign in to comment.