summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2024-10-31 10:49:39 -0400
committerMike Gilbert <floppym@gentoo.org>2024-10-31 10:52:47 -0400
commit3edd853f2e72e1f3fa48d089dd13b8766844f369 (patch)
tree76d034dd3c18200b72cbf1284a734a521e09b8eb /app-admin/sudo/sudo-9999.ebuild
parentdev-python/cbor2: Remove old (diff)
downloadgentoo-3edd853f2e72e1f3fa48d089dd13b8766844f369.tar.gz
gentoo-3edd853f2e72e1f3fa48d089dd13b8766844f369.tar.bz2
gentoo-3edd853f2e72e1f3fa48d089dd13b8766844f369.zip
app-admin/sudo: fix secure-path-value option
When USE="-secure-path", we want to pass --without-secure-path-value so that the default sudoers file has secure_path commented out. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-admin/sudo/sudo-9999.ebuild')
-rw-r--r--app-admin/sudo/sudo-9999.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-admin/sudo/sudo-9999.ebuild b/app-admin/sudo/sudo-9999.ebuild
index 868cb8e860d0..e62c3cd0a3f7 100644
--- a/app-admin/sudo/sudo-9999.ebuild
+++ b/app-admin/sudo/sudo-9999.ebuild
@@ -185,7 +185,7 @@ src_configure() {
$(use_with pam)
$(use_with pam pam-login)
$(use_with secure-path)
- --with-secure-path-value="${SECURE_PATH}"
+ "$(use_with secure-path secure-path-value "${SECURE_PATH}")"
$(use_with selinux)
$(use_with sendmail)
$(use_with skey)