mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems
SVN-Revision: 32499
This commit is contained in:
parent
41909c6568
commit
3df534502c
@ -12,7 +12,7 @@ chdir "$FindBin::Bin/..";
|
|||||||
$ENV{TOPDIR}=getcwd();
|
$ENV{TOPDIR}=getcwd();
|
||||||
$ENV{GIT_CONFIG_PARAMETERS}="'core.autocrlf=false'";
|
$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
|
chomp($mk); # trim trailing newline
|
||||||
$mk or $mk = "make"; # default to 'make'
|
$mk or $mk = "make"; # default to 'make'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user