From d3510593f9f01f3ea3c201be06a3238d7b102980 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 25 Jun 2012 00:27:03 +0000 Subject: 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 --- scripts/feeds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/feeds b/scripts/feeds index 2c0baa658..b1bdee597 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' -- cgit v1.2.3