From: Felix Fietkau Date: Mon, 25 Jun 2012 00:27:03 +0000 (+0000) Subject: scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3df534502c449850bdae6c7311180d112dc2f982;p=openwrt%2Fstaging%2Fkaloz.git scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems SVN-Revision: 32499 --- diff --git a/scripts/feeds b/scripts/feeds index 2c0baa6584..b1bdee597e 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -12,7 +12,7 @@ chdir "$FindBin::Bin/.."; $ENV{TOPDIR}=getcwd(); $ENV{GIT_CONFIG_PARAMETERS}="'core.autocrlf=false'"; -my $mk=`which gmake`; # select the right 'make' program +my $mk=`which gmake 2>/dev/null`; # select the right 'make' program chomp($mk); # trim trailing newline $mk or $mk = "make"; # default to 'make'