NO_ROOT: Remove excessive // when DESTDIR/DISTDIR are empty.
MFC after: 2 weeks Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
0661ef2af2
commit
0369270f71
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user