summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2001-08-20 14:41:48 +0000
committertv <tv@pkgsrc.org>2001-08-20 14:41:48 +0000
commitd4f0e2715c518b03d83b14681d3299bf9b207550 (patch)
tree9409dba62bed716f816c0fee8de503b7f403d2f0 /mk
parent55d8038c4856dd7091713144ebf5e9c41e39ea9b (diff)
downloadpkgsrc-d4f0e2715c518b03d83b14681d3299bf9b207550.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.
Diffstat (limited to 'mk')
-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: