aboutsummaryrefslogtreecommitdiffstats
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
commit034fbb7af39f2afb9eec4464ac1cbbf164804fe3 (patch)
treecc8bd7c1912153c8c139caeb4025e4b0bb8de49a /scripts/feeds
parentbbf923a00f92ccc8a587cc390508851e85bc213a (diff)
downloadupstream-034fbb7af39f2afb9eec4464ac1cbbf164804fe3.tar.gz
upstream-034fbb7af39f2afb9eec4464ac1cbbf164804fe3.tar.bz2
upstream-034fbb7af39f2afb9eec4464ac1cbbf164804fe3.zip
scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32499 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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'