remove pointless redirects to /dev/null when using hasq()
authorMike Frysinger <vapier@gentoo.org>
Sun, 17 Dec 2006 01:28:49 +0000 (01:28 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 17 Dec 2006 01:28:49 +0000 (01:28 -0000)
svn path=/main/trunk/; revision=5306

bin/ebuild.sh

index 1b07ad55b23c6f5cda18e222b0ea6db1c94ae8b9..4dda6af42ff5aa1b08d57d69407af6cc7b990858 100755 (executable)
@@ -901,7 +901,7 @@ dyn_compile() {
        fi
        unset LIBDIR_VAR
 
-       if hasq noauto $FEATURES &>/dev/null && [ ! -f ${PORTAGE_BUILDDIR}/.unpacked ]; then
+       if hasq noauto $FEATURES && [ ! -f ${PORTAGE_BUILDDIR}/.unpacked ]; then
                echo
                echo "!!! We apparently haven't unpacked... This is probably not what you"
                echo "!!! want to be doing... You are using FEATURES=noauto so I'll assume"
@@ -1367,7 +1367,7 @@ if [[ ${EBUILD_SH_ARGS} != "depend" ]] && [[ ${EBUILD_SH_ARGS}  != "clean" ]] &&
                export USER=portage
        fi
 
-       if hasq distcc ${FEATURES} &>/dev/null; then
+       if hasq distcc ${FEATURES} ; then
                if [ -d /usr/lib/distcc/bin ]; then
                        #We can enable distributed compile support
                        if [ -z "${PATH/*distcc*/}" ]; then