exit 1
fi
-if test -f /sw/bin/svn; then
- echo "SVN = /sw/bin/svn" >> config.mak
-elif test -f /usr/local/bin/svn; then
- echo "SVN = /usr/local/bin/svn" >> config.mak
-elif test -f /usr/bin/svn; then
- echo "SVN = /usr/bin/svn" >> config.mak
-elif test -f /opt/local/bin/svn; then
- echo "SVN = /opt/local/bin/svn" >> config.mak
-elif svn help >/dev/null 2>&1; then
+if svn help >/dev/null 2>&1; then
echo "SVN = `which svn`" >> config.mak
else
- echo "You do not have a subversion client installed." >&2
+ echo "You do not have a subversion client in your PATH." >&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
+if git help >/dev/null 2>&1; then
echo "GIT = `which git`" >> config.mak
else
- echo "You do not have a Git client installed." >&2
+ echo "You do not have a Git client in your PATH." >&2
fi