scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially...
authorFelix Fietkau <nbd@openwrt.org>
Mon, 25 Jun 2012 00:27:03 +0000 (00:27 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 25 Jun 2012 00:27:03 +0000 (00:27 +0000)
SVN-Revision: 32499

scripts/feeds

index 2c0baa6584245104572f3383f93eb2b8a8b0fa83..b1bdee597ea0f2e1a8c5da5553bd9064737cb949 100755 (executable)
@@ -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'