[vlc-devel] Problem with git on Mac OS X

Rafaël Carré funman at videolan.org
Wed Apr 16 13:04:02 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Wed, 16 Apr 2008 09:53:43 +0200,
Jérôme Decoodt <djc at videolan.org> a écrit :

> Hello,
> 
> > `git help` returns the git usage dialogue (very lengthy; I won't  
> > repeat it here).
> > `which git` returns /usr/bin/git (I have git* soft-linked
> > to /usr/bin).
> > 
> > > if git help >/dev/null 2>&1; then
> > >     echo "GIT = `which git`" >> config.mak
> > > else
> > >     echo "You do not have a Git client in your PATH." >&2
> > > fi
> 
> It seems git doesn't return 0 on old versions when git help or git
> version. There is (IIRC) the same problem on Ubuntu. Perhaps we could
> test it's presence with
> 
> if which git >/dev/null 2>&1 ; then...

Done

- -- 
Rafaël Carré
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIBd0kYWCeGMCv8Q8RAqQVAKC4dlhGWhx33Z78D7SqZcVro6aK/gCfSTAf
EBZL6IULXdfSVjmJQE9hJXc=
=CzXu
-----END PGP SIGNATURE-----


More information about the vlc-devel mailing list