svn commit: r569287 - in head/devel/bitkeeper: . files

Cy Schubert Cy.Schubert at cschubert.com
Sat Mar 27 06:02:46 UTC 2021


In message <YF66FcdDyGSZ7Ur+ at 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 at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy at nwtime.org>    Web:  https://nwtime.org

	The need of the many outweighs the greed of the few.




More information about the svn-ports-head mailing list