svn commit: r297902 - head

Peter Jeremy peter at rulingia.com
Wed Apr 13 08:13:03 UTC 2016


On 2016-Apr-13 01:47:05 +0000, Steve Wills <swills at FreeBSD.org> wrote:
>+.if !defined(SVN) || empty(SVN)
>+. for _P in /usr/bin /usr/local/bin
>+.  for _S in svn svnlite
>+.   if exists(${_P}/${_S})
>+SVN=   ${_P}/${_S}
>+.   endif
>+.  endfor
>+. endfor
>+.endif

What is the preferred choice here?  The given order prefers ports over base
(which makes sense) but then prefers svnlite over svn.  I would expect
either the opposite directory order in _P (prefer svnlite in base) or the
opposite command order in _S (prefer svn in ports).

In normal use, this will wind up with either /usr/local/bin/svn or
/usr/bin/svnlite (in that order) but a non-standard configuration could
result in different results.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20160413/1d4d3091/attachment.sig>


More information about the svn-src-all mailing list