A lightweight version of Subversion is already installed on FreeBSD as svnlite (the only difference from normal Subversion use is that the command name is svnlite).

This commit is contained in:
Julien Cigar 2015-10-30 16:31:13 +01:00
parent 6775490e6a
commit 765d62c5d7

View file

@ -444,6 +444,8 @@ fetch_svn() {
if type svn &>/dev/null; then
svn co -r "$svn_rev" "$svn_url" "${package_name}" >&4 2>&1
elif type svnlite &>/dev/null; then
svnlite co -r "$svn_rev" "$svn_url" "${package_name}" >&4 2>&1
else
echo "error: please install Subversion and try again" >&2
exit 1