Просмотр исходного кода

scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems

SVN-Revision: 32499
Felix Fietkau 13 лет назад
Родитель
Сommit
3df534502c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/feeds

+ 1 - 1
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'