From: Mike Frysinger Date: Sun, 17 Dec 2006 01:28:49 +0000 (-0000) Subject: remove pointless redirects to /dev/null when using hasq() X-Git-Tag: v2.1.2~286 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a0ef44536899a34b784dddf1f0dab99334729177;p=portage.git remove pointless redirects to /dev/null when using hasq() svn path=/main/trunk/; revision=5306 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 1b07ad55b..4dda6af42 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -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