Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2021 05:52:37 +0100
From:      Tobias Kortkamp <tobik@freebsd.org>
To:        Cy Schubert <cy@freebsd.org>
Cc:        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:  <YF66FcdDyGSZ7Ur%2B@urd.tobik.me>
In-Reply-To: <202103270244.12R2ix6o059196@repo.freebsd.org>
References:  <202103270244.12R2ix6o059196@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 "$@"

--R3zeKFgjy1fM4fJ3
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEElXvTEJc6ePgdQuobpPCftzzFH2EFAmBeuhJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk1
N0JEMzEwOTczQTc4RjgxRDQyRUExQkE0RjA5RkI3M0NDNTFGNjEACgkQpPCftzzF
H2Ezkwf/R0tI70tFe6KtuOGLyEMPuR8gmojBL5ngxgF52yQ0UIb5n8QTaUOMFsXv
60T6jDEuB/ByMPZSHIJiDNPltapcDVjCAeg25WOGHenGMoK+gs2uJmDEats4IgYN
ktCxcws33IG9aiBBbZKtcqMtuA58fbZ1O+Y6tMVOgN6SJHvrpmAz/U3MKv+LMiTJ
QIzXUcModlIQ1gjNhhYFrXuYrJ/b3rjV7GwRVU3FuY1qW11JnUrHcvHr57peVfnc
+0azvOppuO0VIq+p5NlT9UMmy3+xcCKtkCuCXAeeEbW+rHFXbxZXmpd+wjwHPw7L
zBXh3/vLh4ABc8KzquMpMCo9r0NJ/A==
=E8C7
-----END PGP SIGNATURE-----

--R3zeKFgjy1fM4fJ3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YF66FcdDyGSZ7Ur%2B>