Date: Fri, 26 Mar 2021 23:02:40 -0700 From: Cy Schubert <Cy.Schubert@cschubert.com> To: Tobias Kortkamp <tobik@freebsd.org> Cc: Cy Schubert <cy@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r569287 - in head/devel/bitkeeper: . files Message-ID: <202103270602.12R62eNu071283@slippy.cwsent.com> In-Reply-To: <YF66FcdDyGSZ7Ur%2B@urd.tobik.me> References: <202103270244.12R2ix6o059196@repo.freebsd.org> <YF66FcdDyGSZ7Ur%2B@urd.tobik.me>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <YF66FcdDyGSZ7Ur+@urd.tobik.me>, Tobias Kortkamp writes: > > > --R3zeKFgjy1fM4fJ3 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Sat, Mar 27, 2021 at 02:44:59AM +0000, Cy Schubert wrote: > > Author: cy > > Date: Sat Mar 27 02:44:58 2021 > > New Revision: 569287 > > URL: https://svnweb.freebsd.org/changeset/ports/569287 > >=20 > > Log: > > devel/bitkeeper: Symlink to bin/bk does not work > > =20 > > The bitkeeper binary, bk, checks whether the path from which it was > > executed is a symbolic link and if it is, it terminates with an error. > > Remove the symlink and add a pkg-message telling the user to add > > ${LOCALBASE}/bitkeeper/bin to their path. > > Just thinking out loud but would a simple wrapper script not work here? > > #!/bin/sh > export PATH=3D"/usr/local/bitkeeper/bin:${PATH}" > exec /usr/local/bitkeeper/bin/bk "$@" Yes, I should have known better, no excuses. It's been a late night and long week. A handy trick from UNIX Power Tools. -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org NTP: <cy@nwtime.org> Web: https://nwtime.org The need of the many outweighs the greed of the few.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103270602.12R62eNu071283>