Skip to content

Commit

Permalink
scripts/feeds: redirect stderr of the which call to /dev/null to avoi…
Browse files Browse the repository at this point in the history
…d potentially confusing error messages on some systems

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32499 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
nbd committed Jun 25, 2012
1 parent ced5f69 commit d351059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/feeds
Expand Up @@ -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'

Expand Down

0 comments on commit d351059

Please sign in to comment.