Respect DESTDIR when creating the directory structure when NO_ROOT is set.
Reviewed by: bapt MFC after: 1 Week
This commit is contained in:
parent
bb09480677
commit
8c5075340f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281141
@ -379,7 +379,7 @@ distrib-dirs: ${MTREES:N/*}
|
||||
test "$$d" == "/" && d=""; \
|
||||
d=${DISTBASE}$$d; \
|
||||
shift; \
|
||||
test -d $$d || mkdir -p $$d; \
|
||||
test -d ${DESTDIR}/$$d || mkdir -p ${DESTDIR}/$$d; \
|
||||
${ECHO} "${MTREE_CMD:N-W} -C -f $$m -K uname,gname | " \
|
||||
"sed s#^\.#.$$d# | ${METALOG.add}" ; \
|
||||
${MTREE_CMD:N-W} -C -f $$m -K uname,gname | sed s#^\.#.$$d# | \
|
||||
|
Loading…
Reference in New Issue
Block a user