Commits

ysulsky committed bec1360

typo

  • Participants
  • Parent commits 66add28

Comments (0)

Files changed (1)

build-and-install

 
 function maybe_verbose {
     if $verbose; then "$@"; else
+        local ret=0
         local output=''
         output=$("$@" 2>&1)
-        if [[ $? -ne 0 ]]; then
+        ret=$?
+        if [[ $ret -ne 0 ]]; then
             echo "$output"
             return $ret
         fi