[vlc-devel] commit: Check git location. (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Mar 12 07:32:56 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Mar 11 23:27:49 2008 -0700| [f223fd68adaf438647303089ba55afbb454972db]

Check git location.

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

 extras/contrib/bootstrap |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/extras/contrib/bootstrap b/extras/contrib/bootstrap
index e5c82dd..fbba865 100755
--- a/extras/contrib/bootstrap
+++ b/extras/contrib/bootstrap
@@ -291,3 +291,17 @@ elif svn help >/dev/null 2>&1; then
 else
     echo "You do not have a subversion client installed." >&2
 fi
+
+if test -f /sw/bin/git; then
+    echo "GIT = /sw/bin/git" >> config.mak
+elif test -f /usr/local/bin/git; then
+    echo "GIT = /usr/local/bin/git" >> config.mak
+elif test -f /usr/bin/git; then
+    echo "GIT = /usr/bin/git" >> config.mak
+elif test -f /opt/local/bin/git; then
+    echo "GIT = /opt/local/bin/git" >> config.mak
+elif git help >/dev/null 2>&1; then
+    echo "GIT = `which git`" >> config.mak
+else
+    echo "You do not have a Git client installed." >&2
+fi




More information about the vlc-devel mailing list