svn commit: r314693 - head/usr.sbin/rmt

Baptiste Daroussin bapt at FreeBSD.org
Sun Mar 5 10:15:18 UTC 2017


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
> 
> Log:
>   Change /etc/rmt symlink from absolute to relative path,
>   correcting the mistake made in r6499
>   
>   Approved by:	grehan
>   MFC after:	1 week
> 
> Modified:
>   head/usr.sbin/rmt/Makefile
> 
> Modified: head/usr.sbin/rmt/Makefile
> ==============================================================================
> --- 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=	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 

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20170305/2e7bd1b9/attachment.sig>


More information about the svn-src-head mailing list