Using su -c is not synonymous with sudo sh -c ; the former preserves the environment, while the latter does not. This bites one when running make install as non-root for example; any make vars set on command line are lost.
Responsible Changed From-To: freebsd-ports-bugs->portmgr bsd.commands.mk is portmgr territory (via the GNATS Auto Assign Tool)
crees 2011-12-23 16:19:31 UTC FreeBSD ports repository Modified files: Mk bsd.commands.mk Log: Correct comment advising how to use sudo as SU_CMD; doesn't work unless environment is preserved PR: ports/162273 Submitted by: crees Approved by: portmgr (linimon) Revision Changes Path 1.9 +2 -2 ports/Mk/bsd.commands.mk _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Responsible Changed From-To: portmgr->crees I'll take it.
State Changed From-To: open->closed Committed.