Date: Mon, 6 Apr 2015 08:37:41 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281141 - head/etc Message-ID: <201504060837.t368bfOF088139@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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# | \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504060837.t368bfOF088139>