Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2017 19:03:32 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320292 - head
Message-ID:  <201706231903.v5NJ3WEF077294@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Jun 23 19:03:31 2017
New Revision: 320292
URL: https://svnweb.freebsd.org/changeset/base/320292

Log:
  NO_ROOT: Remove excessive // when DESTDIR/DISTDIR are empty.
  
  MFC after:	2 weeks
  Sponsored by:	Dell EMC Isilon

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Fri Jun 23 18:58:28 2017	(r320291)
+++ head/Makefile.inc1	Fri Jun 23 19:03:31 2017	(r320292)
@@ -718,6 +718,7 @@ _INSTALL_DDIR=	${DESTDIR}/${DISTDIR}
 INSTALL_DDIR=	${_INSTALL_DDIR:S://:/:g:C:/$::}
 .if defined(NO_ROOT)
 METALOG?=	${DESTDIR}/${DISTDIR}/METALOG
+METALOG:=	${METALOG:C,//+,/,g}
 IMAKE+=		-DNO_ROOT METALOG=${METALOG}
 INSTALLFLAGS+=	-U -M ${METALOG} -D ${INSTALL_DDIR}
 MTREEFLAGS+=	-W



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