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)
This commit is contained in:
Chris Rees 2011-12-23 16:19:31 +00:00
parent 5db6b69ce0
commit 304843ed09
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287935

View file

@ -79,7 +79,7 @@ SH?= /bin/sh
SORT?= /usr/bin/sort
STRIP_CMD?= /usr/bin/strip
# Command to run commands as privileged user
# Example: "/usr/local/bin/sudo sh -c" to use "sudo" instead of "su"
# Example: "/usr/local/bin/sudo -E sh -c" to use "sudo" instead of "su"
SU_CMD?= /usr/bin/su root -c
SYSCTL?= /sbin/sysctl
TAIL?= /usr/bin/tail