Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Mar 2017 11:15:17 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        "Rodney W. Grimes" <rgrimes@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r314693 - head/usr.sbin/rmt
Message-ID:  <20170305101517.abhgspc47mrdbdwb@ivaldir.net>
In-Reply-To: <201703050409.v2549IwK048766@repo.freebsd.org>
References:  <201703050409.v2549IwK048766@repo.freebsd.org>

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

--cz4gnhkzd6qmtyk7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Mar 05, 2017 at 04:09:18AM +0000, Rodney W. Grimes wrote:
> Author: rgrimes
> Date: Sun Mar  5 04:09:18 2017
> New Revision: 314693
> URL: https://svnweb.freebsd.org/changeset/base/314693
>=20
> Log:
>   Change /etc/rmt symlink from absolute to relative path,
>   correcting the mistake made in r6499
>  =20
>   Approved by:	grehan
>   MFC after:	1 week
>=20
> Modified:
>   head/usr.sbin/rmt/Makefile
>=20
> Modified: head/usr.sbin/rmt/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/usr.sbin/rmt/Makefile	Sun Mar  5 04:02:47 2017	(r314692)
> +++ head/usr.sbin/rmt/Makefile	Sun Mar  5 04:09:18 2017	(r314693)
> @@ -7,6 +7,6 @@ MAN=3D	rmt.8
>  # called from /usr/src/etc/Makefile
>  etc-rmt:
>  	rm -f ${DESTDIR}/etc/rmt
> -	ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt
> +	ln -s ..${BINDIR}/rmt ${DESTDIR}/etc/rmt

I think this should be ${INSTALL_RSYMLINK} ${BINDIR}/rmt ${DESTDIR}/etc/rmt

The rm -f before can then be removed, the symlink will be relative and the
METALOG will be respected=20

Best regards,
Bapt

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

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

iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAli75TMACgkQY4mL3PG3
PlpthA//cSvBLkecIA1zXbBUam+mWJcHzzlosaSkrfbzIE7DaEwMh1IbbZp4q2vW
SoCux2DDySi1zoBioXg2bYCviSM9KFldC5BYslDlJGhK0V9ykpVKjt2IlVLBFpng
GLdlNjtKrNRFdvAHvqn/UNlWNgKln0DB8bUgPfZS/NlbMEnx/NFBVraV6e2DbZmY
nnDe/zeR/iC4ga9mJmXMgJ1NDbXOHX49oTTkC8OQx/unJ1CCsesbrZEBHz0Figys
XnHMjC2lFi+n8GysanTqJz5wzSip3wOxdWG8q+yOCvAfa2PB56ur71jiMRUzBLGn
tSIDBUK1W3ffy+tqPhyIKp62KpLcI+f6Cbd3i1trO5ZFz7PFMy+KPkcEva1KrCJS
N05Cq/ECKEQs9apn86HV6sOO+pHFp9K8w4PmkIfQspIFZxTnJhnhFg6g8ORaVN43
LQMkzr222vFboZJ7U4vYLDvJlDhyl28x53vO9KMd9z+RLhP+18ZKu2b8YOg/tIXM
aBS1asLYztf/QP1Nsa8iO5GIS+vz1h79w5+wYe1puMQUOEPDOKoOxt2tvsm6TrrA
9+WbeVIyc9v1RDPwTkd4WzpIcN9463gQXlrbEYJm2VjTW1nDukfpCS8+sCdIkUr5
yY2FcS8QmIUwOI7rNByvF7HEgSJHKBCFyHBsnVXycvxGEJFBCLk=
=vtsa
-----END PGP SIGNATURE-----

--cz4gnhkzd6qmtyk7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170305101517.abhgspc47mrdbdwb>