mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-09-23 09:31:10 +02:00
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:
parent
6775490e6a
commit
765d62c5d7
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue