diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-25 00:27:03 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-25 00:27:03 +0000 |
commit | 3df534502c449850bdae6c7311180d112dc2f982 (patch) | |
tree | 4e1c5036ca2843b5ca59479ce467aa75bdd1c09e | |
parent | 41909c6568c57c952725967ae3f877b8e06176da (diff) | |
download | upstream-3df534502c449850bdae6c7311180d112dc2f982.tar.gz upstream-3df534502c449850bdae6c7311180d112dc2f982.tar.bz2 upstream-3df534502c449850bdae6c7311180d112dc2f982.zip |
scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems
SVN-Revision: 32499
-rwxr-xr-x | scripts/feeds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds index 2c0baa6584..b1bdee597e 100755 --- a/scripts/feeds +++ b/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' |