Debian Automated Code Analysis

checkbashisms analysis of kbuild_0.1.98svn2318-8.dsc

possible bashism in ./kBuild/env.sh line 162 (should be >word 2>&1):
        echo "$0: error: KBUILD_PATH ($KBUILD_PATH) and PATH_KBUILD ($PATH_KBUILD) disagree." 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 170 (should be >word 2>&1):
        echo "$0: error: KBUILD_BIN_PATH ($KBUILD_BIN_PATH) and PATH_KBUILD_BIN ($PATH_KBUILD_BIN) disagree." 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 179 (should be >word 2>&1):
        echo "$0: error: KBUILD_TYPE ($KBUILD_TYPE) and BUILD_TYPE ($BUILD_TYPE) disagree." 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 188 (should be >word 2>&1):
        echo "$0: error: KBUILD_HOST ($KBUILD_HOST) and BUILD_PLATFORM ($BUILD_PLATFORM) disagree." 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 196 (should be >word 2>&1):
        echo "$0: error: KBUILD_HOST_ARCH ($KBUILD_HOST_ARCH) and BUILD_PLATFORM_ARCH ($BUILD_PLATFORM_ARCH) disagree." 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 204 (should be >word 2>&1):
        echo "$0: error: KBUILD_HOST_CPU ($KBUILD_HOST_CPU) and BUILD_PLATFORM_CPU ($BUILD_PLATFORM_CPU) disagree." 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 213 (should be >word 2>&1):
        echo "$0: error: KBUILD_TARGET ($KBUILD_TARGET) and BUILD_TARGET ($BUILD_TARGET) disagree." 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 221 (should be >word 2>&1):
        echo "$0: error: KBUILD_TARGET_ARCH ($KBUILD_TARGET_ARCH) and BUILD_TARGET_ARCH ($BUILD_TARGET_ARCH) disagree." 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 229 (should be >word 2>&1):
        echo "$0: error: KBUILD_TARGET_CPU ($KBUILD_TARGET_CPU) and BUILD_TARGET_CPU ($BUILD_TARGET_CPU) disagree." 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 243 (should be >word 2>&1):
test -n "$DBG_OPT" && echo "dbg: KBUILD_TYPE=$KBUILD_TYPE" 1>&${DBG_REDIR}
possible bashism in ./kBuild/env.sh line 292 (should be >word 2>&1):
            echo "$0: unknown os $KBUILD_HOST" 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 298 (should be >word 2>&1):
test -n "$DBG_OPT" && echo "dbg: KBUILD_HOST=$KBUILD_HOST" 1>&${DBG_REDIR}
possible bashism in ./kBuild/env.sh line 368 (should be >word 2>&1):
        *)  echo "$0: unknown cpu/arch - $KBUILD_HOST_ARCH" 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 375 (should be >word 2>&1):
test -n "$DBG_OPT" && echo "dbg: KBUILD_HOST_ARCH=$KBUILD_HOST_ARCH" 1>&${DBG_REDIR}
possible bashism in ./kBuild/env.sh line 380 (should be >word 2>&1):
test -n "$DBG_OPT" && echo "dbg: KBUILD_HOST_CPU=$KBUILD_HOST_CPU" 1>&${DBG_REDIR}
possible bashism in ./kBuild/env.sh line 389 (should be >word 2>&1):
test -n "$DBG_OPT" && echo "dbg: KBUILD_TARGET=$KBUILD_TARGET" 1>&${DBG_REDIR}
possible bashism in ./kBuild/env.sh line 394 (should be >word 2>&1):
test -n "$DBG_OPT" && echo "dbg: KBUILD_TARGET_ARCH=$KBUILD_TARGET_ARCH" 1>&${DBG_REDIR}
possible bashism in ./kBuild/env.sh line 403 (should be >word 2>&1):
test -n "$DBG_OPT" && echo "dbg: KBUILD_TARGET_CPU=$KBUILD_TARGET_CPU" 1>&${DBG_REDIR}
possible bashism in ./kBuild/env.sh line 425 (should be >word 2>&1):
    echo "$0: error: KBUILD_PATH ($KBUILD_PATH) is not pointing to a popluated kBuild directory." 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 429 (should be >word 2>&1):
test -n "$DBG_OPT" && echo "dbg: KBUILD_PATH=$KBUILD_PATH" 1>&${DBG_REDIR}
possible bashism in ./kBuild/env.sh line 434 (should be >word 2>&1):
test -n "$DBG_OPT" && echo "dbg: KBUILD_BIN_PATH=${KBUILD_BIN_PATH}" 1>&${DBG_REDIR}
possible bashism in ./kBuild/env.sh line 441 (should be >word 2>&1):
test -n "$DBG_OPT" && echo "dbg: PATH=$PATH" 1>&${DBG_REDIR}
possible bashism in ./kBuild/env.sh line 447 (should be >word 2>&1):
    echo "$0: warning: The bin directory for this platform doesn't exist. (${KBUILD_BIN_PATH}/)" 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 453 (should be >word 2>&1):
            echo "$0: warning: The ${prog} program doesn't exist for this platform. (${KBUILD_BIN_PATH}/${prog}${_SUFF_EXE})" 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 499 (should be >word 2>&1):
                echo "$0: error: Unknown variable $var specified in --var request." 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 518 (should be >word 2>&1):
        test -n "$DBG_OPT" && echo "dbg: echoing exported variables" 1>&${DBG_REDIR}
possible bashism in ./kBuild/env.sh line 580 (should be >word 2>&1):
            test -z "${QUIET_OPT}" && echo "$0: info: Spawning work shell..." 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 587 (should be >word 2>&1):
            test -z "${QUIET_OPT}" && echo "$0: info: Executing command: $*" 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 590 (should be >word 2>&1):
            test -z "${QUIET_OPT}" -a "$MY_RC" -ne 0 && echo "$0: info: rc=$MY_RC: $*" 1>&${ERR_REDIR}
possible bashism in ./kBuild/env.sh line 594 (should be >word 2>&1):
test -n "$DBG_OPT" && echo "dbg: finished (rc=$MY_RC)" 1>&${DBG_REDIR}

This report was generated on Thu, 16 Dec 2010 20:38:13 +0000, based on results by checkbashisms 2.10.65git5