svn commit: r281141 - head/etc
Andrew Turner
andrew at FreeBSD.org
Mon Apr 6 08:37:41 UTC 2015
Author: andrew
Date: Mon Apr 6 08:37:40 2015
New Revision: 281141
URL: https://svnweb.freebsd.org/changeset/base/281141
Log:
Respect DESTDIR when creating the directory structure when NO_ROOT is set.
Reviewed by: bapt
MFC after: 1 Week
Modified:
head/etc/Makefile
Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile Mon Apr 6 08:23:06 2015 (r281140)
+++ head/etc/Makefile Mon Apr 6 08:37:40 2015 (r281141)
@@ -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# | \
More information about the svn-src-head
mailing list