summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv>2001-08-20 14:41:48 +0000
committertv <tv>2001-08-20 14:41:48 +0000
commit0780ea8e372a22484550066a0c912f35d079251e (patch)
tree9409dba62bed716f816c0fee8de503b7f403d2f0
parentc758221d2052091b10010427e35c253caa226f5e (diff)
downloadpkgsrc-0780ea8e372a22484550066a0c912f35d079251e.tar.gz
Remove "-" from default su command. It's more reliable to let some of the
environment be inherited from pkgsrc during an implicit su for install; root's .-files may set variables that fiddle with how pkgsrc works.
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 0d3de89812b..a97675a7571 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.797 2001/08/16 01:49:09 dogcow Exp $
+# $NetBSD: bsd.pkg.mk,v 1.798 2001/08/20 14:41:48 tv Exp $
#
# This file is in the public domain.
#
@@ -2034,7 +2034,7 @@ real-install: do-su-install
real-package: _PORT_USE
# sudo or priv are acceptable substitutes
-SU_CMD?= ${SU} - root -c
+SU_CMD?= ${SU} root -c
PRE_ROOT_CMD?= ${TRUE}
do-su-install: