[vlc-commits] shell typo

Rafaël Carré git at videolan.org
Tue Nov 8 05:41:54 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Nov  7 23:33:17 2011 -0500| [fdeff10074c41691f62f01cd3d5233e1883f33ce] | committer: Rafaël Carré

shell typo

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

 extras/tools/bootstrap |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extras/tools/bootstrap b/extras/tools/bootstrap
index a27bf2e..28dce6e 100755
--- a/extras/tools/bootstrap
+++ b/extras/tools/bootstrap
@@ -26,7 +26,7 @@ fi
 
 check() {
 # FIXME : add version check
-if [ ! $1 --version 2>/dev/null ]
+if ! $1 --version >/dev/null 2>&1
 then
     echo "$1 not found"
     NEEDED="$NEEDED .$1"



More information about the vlc-commits mailing list