waf-utils.eclass: Fix handling WAF_VERBOSE=OFF
authorMichał Górny <mgorny@gentoo.org>
Wed, 29 Aug 2018 15:18:30 +0000 (17:18 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 29 Aug 2018 15:18:30 +0000 (17:18 +0200)
Patch-by: Joke Junkie
eclass/waf-utils.eclass

index d3e52fc463dd5f6fd7c5eb88da96ff184c68ffc7..4d02483a927e639f7b011d144d0f9355107f5151 100644 (file)
@@ -99,7 +99,7 @@ waf-utils_src_configure() {
 waf-utils_src_compile() {
        debug-print-function ${FUNCNAME} "$@"
        local _mywafconfig
-       [[ "${WAF_VERBOSE}" ]] && _mywafconfig="--verbose"
+       [[ ${WAF_VERBOSE} == ON ]] && _mywafconfig="--verbose"
 
        local jobs="--jobs=$(makeopts_jobs)"
        echo "\"${WAF_BINARY}\" build ${_mywafconfig} ${jobs}"