[vlc-commits] contribs: bootstrap: make uname output silent if -o is not supported.

Konstantin Pavlov git at videolan.org
Sat Dec 9 12:37:50 CET 2017


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Sat Dec  9 14:34:59 2017 +0300| [3fb8103c33e1ae60dced8c4f475bfa21e1195ad9] | committer: Konstantin Pavlov

contribs: bootstrap: make uname output silent if -o is not supported.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3fb8103c33e1ae60dced8c4f475bfa21e1195ad9
---

 contrib/bootstrap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index dbb0e27545..20ce524926 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -286,7 +286,7 @@ test -z "$GPL" || add_make_enabled "GPL"
 test -z "$GNUV3" || add_make_enabled "GNUV3"
 test -z "$AD_CLAUSES" || add_make_enabled "AD_CLAUSES"
 test -z "$WITH_OPTIMIZATION" || add_make_enabled "WITH_OPTIMIZATION"
-test "`uname -o`" != "Msys" || add_make "CMAKE_GENERATOR := -G \"MSYS Makefiles\""
+test "`uname -o 2>/dev/null`" != "Msys" || add_make "CMAKE_GENERATOR := -G \"MSYS Makefiles\""
 
 #
 # Checks



More information about the vlc-commits mailing list