vxOpenLibm - v1.0.0-rc1 : fix verbose handling for bash 3.x

*fix*
> [scripts]
  | [install] fix VERBOSE check for bash 3.x support
This commit is contained in:
YannMagnin 2023-12-20 16:38:02 +01:00
parent e7188a6311
commit a0d9a87eeb
No known key found for this signature in database
GPG Key ID: D82629D933EADC59
1 changed files with 1 additions and 2 deletions

View File

@ -16,9 +16,8 @@ export TOP_PID=$$
export TAG='<vxOpenLibm>'
# abstract the verbose mode
function callcmd() {
if [[ -v 'VERBOSE' ]]
if [[ "$VERBOSE" == '1' ]]
then
echo "$@"
if ! "$@"; then