Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2015 14:43:46 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289115 - head
Message-ID:  <201510101443.t9AEhkSu025534@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Oct 10 14:43:46 2015
New Revision: 289115
URL: https://svnweb.freebsd.org/changeset/base/289115

Log:
  Fix installing config files as non root
  
  Reported by:	adrian

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Sat Oct 10 10:48:09 2015	(r289114)
+++ head/Makefile.inc1	Sat Oct 10 14:43:46 2015	(r289115)
@@ -1003,7 +1003,9 @@ distrib-dirs: .MAKE
 distribution: .MAKE
 	cd ${.CURDIR}/etc; ${CROSSENV} PATH=${TMPPATH} ${MAKE} \
 	    ${IMAKE_INSTALL} ${IMAKE_MTREE} METALOG=${METALOG} ${.TARGET}
-	${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 installconfig
+	${_+_}cd ${.CURDIR}; ${CROSSENV} PATH=${TMPPATH} \
+		${MAKE} -f Makefile.inc1 ${IMAKE_INSTALL} \
+		METALOG=${METALOG} installconfig
 
 #
 # buildkernel and installkernel



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