Commit 765d62c5 authored by Julien Cigar's avatar Julien Cigar
Browse files

A lightweight version of Subversion is already installed on FreeBSD as svnlite...

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).
parent 6775490e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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