On 2016-Apr-13 01:47:05 +0000, Steve Wills <swi...@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

Attachment: signature.asc
Description: PGP signature

Reply via email to