Commit f223fd68 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Check git location.

parent 7c851191
...@@ -291,3 +291,17 @@ elif svn help >/dev/null 2>&1; then ...@@ -291,3 +291,17 @@ elif svn help >/dev/null 2>&1; then
else else
echo "You do not have a subversion client installed." >&2 echo "You do not have a subversion client installed." >&2
fi 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment