From 3df534502c449850bdae6c7311180d112dc2f982 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 25 Jun 2012 00:27:03 +0000 Subject: [PATCH] scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems SVN-Revision: 32499 --- scripts/feeds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- 2.30.2