From owner-svn-src-all@freebsd.org Wed Apr 13 08:13:03 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70CCCB0C737; Wed, 13 Apr 2016 08:13:03 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (vps.rulingia.com [103.243.244.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "rulingia.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DD1FC1A8A; Wed, 13 Apr 2016 08:13:02 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vps.rulingia.com (8.15.2/8.15.2) with ESMTPS id u3D8CmBF002310 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Apr 2016 18:12:53 +1000 (AEST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id u3D8Cgop099426 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 13 Apr 2016 18:12:42 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id u3D8CgLW099425; Wed, 13 Apr 2016 18:12:42 +1000 (AEST) (envelope-from peter) Date: Wed, 13 Apr 2016 18:12:42 +1000 From: Peter Jeremy To: Steve Wills Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r297902 - head Message-ID: <20160413081242.GA10478@server.rulingia.com> References: <201604130147.u3D1l5F0032629@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <201604130147.u3D1l5F0032629@repo.freebsd.org> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.24 (2015-08-30) X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.4.3 (vps.rulingia.com [103.243.244.15]); Wed, 13 Apr 2016 18:12:53 +1000 (AEST) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2016 08:13:03 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2016-Apr-13 01:47:05 +0000, Steve Wills wrote: >+.if !defined(SVN) || empty(SVN) >+. for _P in /usr/bin /usr/local/bin >+. for _S in svn svnlite >+. if exists(${_P}/${_S}) >+SVN=3D ${_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. --=20 Peter Jeremy --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJXDf96XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0D5MP/2pP9sp3UE9jda6VN4+gTvHU DXryxkVeWxxbwsclxEtpREBqgFf4lWzgprzuVcM2oQbsHZdkW+TchTts+nQFdl6/ 65WjwCla+AdegwMZ69+KXW942t0tSLf3d1PTUQB8V/ysOqGbZcDZb8e9YwMUShBy DzKDC+90mVJGoN7q2DxIxXYrjhb+ncyVaT4peDRtNSc43h5YGimCKZKLTHYyNnKs w/Ew1JsLZjJzThyae5djns8uq7y8xxi86+Ku7/FDL+W4MvWjXxZni700sOOyBbSu 0BFRJJP1IwNXw6olBWGoTi4PfM/gbCj5T9H19xY3AcaugMT/wdDwkW9U2lcBsAtt b7h1d0H6snjI9FuWDSq+Cd+TEkxobhKjrm50YRN3JhZtP2ea3PWOzk9VyD1AdTWB UaX0hLRadGGDqefrkfQJ3E0Oa7Y+bWGQHUUD/Dv+4T/PbKje0mgkOuS/SJ4jV4HE A4Refa8nDb6EXtJ7yp4y7jbWhkQ5xBr9zI6c+O6uwq+3xXya92BrpHKkpG8xqGX5 r370DGIve5PUeIIRQHo5zGZiRFP1dgipMlZy/FHhDYHjhZs+8ZcDi9/LfgQGMZiG LQcA1wMt64rpyEdkFaWEeAlDTQW2+JnEwT6Vep1hlT2AN2Ab0itfp7NaVFG6cb9c WMSkxvMk9fP/agnzgIUi =bLFU -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--