Commit 1b16a2c2 authored by Steve Lhomme's avatar Steve Lhomme

contrib: improve the detection of SVN

parent dd20f62c
......@@ -66,12 +66,12 @@ else
exit 1
fi
if which svn >/dev/null; then
echo "SVN = svn" >> config.mak
elif which /sw/bin/svn >/dev/null; then
echo "SVN = /sw/bin/svn" >> config.mak
else
echo "You don't have a subversion client installed." >&2
fi
if test -f /sw/bin/svn; then
echo "SVN = /sw/bin/svn" >> config.mak
elif svn help >/dev/null 2>&1; then
echo "SVN = svn" >> config.mak
else
echo "You do not have a subversion client installed." >&2
fi
echo "PREFIX = `pwd`" >> config.mak
This diff is collapsed.
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