vlc/vlc-2.2 | branch: master | Geoffrey Métais <[email protected]> | Tue Feb 10 12:05:23 2015 +0100| [92a48138115bb5e6dc49a6dca5743a7842619c3d] | committer: Jean-Baptiste Kempf
Check tools with '-version' too Some tools, like ant, have -version arg and not --version Signed-off-by: Jean-Baptiste Kempf <[email protected]> (cherry picked from commit 278b85aabee8334b9b51a092cecaf553b1668c09) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=92a48138115bb5e6dc49a6dca5743a7842619c3d --- extras/tools/bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/tools/bootstrap b/extras/tools/bootstrap index 29a72f4..b408d34 100755 --- a/extras/tools/bootstrap +++ b/extras/tools/bootstrap @@ -44,7 +44,7 @@ fi } check() { -if ! $1 --version >/dev/null 2>&1 +if ! $1 --version >/dev/null 2>&1 && ! $1 -version >/dev/null 2>&1 then echo "$1 not found" NEEDED="$NEEDED .$1" _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
