summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2009-10-25 01:53:34 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2009-10-25 01:53:34 +0000
commitc16bd172859adfc737c95e349e3a931fd9dc77f0 (patch)
tree2c12ef1a712ac581309f9a563459c2194cc854bc
parent6b8c954a5da77be04218dc21f68ee9eb65c78b05 (diff)
Add DISTDIR to list of variables preserved via default env_keep,
making one more piece of ports building via sudo less surprising. ok millert@
-rw-r--r--usr.bin/sudo/sudoers4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sudo/sudoers b/usr.bin/sudo/sudoers
index 245e6525c01..3d843736d9f 100644
--- a/usr.bin/sudo/sudoers
+++ b/usr.bin/sudo/sudoers
@@ -1,4 +1,4 @@
-# $OpenBSD: sudoers,v 1.23 2009/06/03 20:25:23 millert Exp $
+# $OpenBSD: sudoers,v 1.24 2009/10/25 01:53:33 krw Exp $
#
# sudoers file.
#
@@ -16,7 +16,7 @@
# Cmnd alias specification
# Defaults specification
-Defaults env_keep +="DESTDIR EDITOR FETCH_CMD FLAVOR FTPMODE GROUP MAKE"
+Defaults env_keep +="DESTDIR DISTDIR EDITOR FETCH_CMD FLAVOR FTPMODE GROUP MAKE"
Defaults env_keep +="MULTI_PACKAGES NOMAN OKAY_FILES OWNER PKG_CACHE PKG_DBDIR"
Defaults env_keep +="PKG_DESTDIR PKG_PATH PKG_TMPDIR PORTSDIR RELEASEDIR"
Defaults env_keep +="SHARED_ONLY SSH_AUTH_SOCK SUBPACKAGE VISUAL WRKOBJDIR"