aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-25 00:27:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-25 00:27:03 +0000
commit3df534502c449850bdae6c7311180d112dc2f982 (patch)
tree4e1c5036ca2843b5ca59479ce467aa75bdd1c09e
parent41909c6568c57c952725967ae3f877b8e06176da (diff)
downloadupstream-3df534502c449850bdae6c7311180d112dc2f982.tar.gz
upstream-3df534502c449850bdae6c7311180d112dc2f982.tar.bz2
upstream-3df534502c449850bdae6c7311180d112dc2f982.zip
scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems
SVN-Revision: 32499
-rwxr-xr-xscripts/feeds2
1 files changed, 1 insertions, 1 deletions
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'