summaryrefslogtreecommitdiff
path: root/scripts/feeds
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 /scripts/feeds
parent41909c6568c57c952725967ae3f877b8e06176da (diff)
downloadmtk-20170518-3df534502c449850bdae6c7311180d112dc2f982.zip
mtk-20170518-3df534502c449850bdae6c7311180d112dc2f982.tar.gz
mtk-20170518-3df534502c449850bdae6c7311180d112dc2f982.tar.bz2
scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems
SVN-Revision: 32499
Diffstat (limited to 'scripts/feeds')
-rwxr-xr-xscripts/feeds2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds
index 2c0baa6..b1bdee5 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'