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:
parent
e7188a6311
commit
a0d9a87eeb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue