aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2011-12-24 00:19:31 +0800
committercrees <crees@FreeBSD.org>2011-12-24 00:19:31 +0800
commita26d153415873cd71dc82dd069cb68cf125a1e06 (patch)
treeaa36a37462093bae3bda3fce1772bd1c5478bebc /Mk
parentb051f5006cd53e9ae04a7da903bfdb1b1b16e0db (diff)
downloadfreebsd-ports-gnome-a26d153415873cd71dc82dd069cb68cf125a1e06.tar.gz
freebsd-ports-gnome-a26d153415873cd71dc82dd069cb68cf125a1e06.tar.zst
freebsd-ports-gnome-a26d153415873cd71dc82dd069cb68cf125a1e06.zip
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)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.commands.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.commands.mk b/Mk/bsd.commands.mk
index 79143e6f8fc8..90950162ebf4 100644
--- a/Mk/bsd.commands.mk
+++ b/Mk/bsd.commands.mk
@@ -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