1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-16 18:57:31 +02:00

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
This commit is contained in:
nbd 2012-06-25 00:27:03 +00:00
parent ced5f69d4d
commit d3510593f9

View File

@ -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'