From: Todd C. Miller Date: Thu, 12 Jan 2012 16:24:54 +0000 (-0500) Subject: Do multiple expansion when expanding paths to the noexec file, and X-Git-Tag: SUDO_1_7_9~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b51661d81d0b779a584fa88e060cbfd5828f99a8;p=sudo Do multiple expansion when expanding paths to the noexec file, and sesh. Adapted from a diff by Mike Frysinger --HG-- branch : 1.7 --- diff --git a/configure b/configure index 3abaa3c2a..16e8f3c55 100755 --- a/configure +++ b/configure @@ -19936,14 +19936,24 @@ if test X"$with_noexec" != X"no" -o X"$with_selinux" != X"no"; then PROGS="${PROGS} libsudo_noexec.la" INSTALL_NOEXEC="install-noexec" - eval noexec_file="$with_noexec" + noexec_file="$with_noexec" + _noexec_file= + while test X"$noexec_file" != X"$_noexec_file"; do + _noexec_file="$noexec_file" + eval noexec_file="$_noexec_file" + done cat >>confdefs.h <>confdefs.h <