diff --git a/configure b/configure index d9bf38db4..66afaec7c 100755 --- a/configure +++ b/configure @@ -15357,7 +15357,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bourne shell" >&5 $as_echo_n "checking for bourne shell... " >&6; } found=no -for p in "/bin/sh" "/usr/bin/sh" "/sbin/sh" "/usr/sbin/sh" "/bin/ksh" "/usr/bin/ksh" "/bin/bash" "/usr/bin/bash"; do +for p in "/usr/bin/sh" "/bin/sh" "/usr/sbin/sh" "/sbin/sh" "/usr/bin/ksh" "/bin/ksh" "/usr/bin/bash" "/bin/bash"; do if test -f "$p"; then found=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $p" >&5 diff --git a/m4/sudo.m4 b/m4/sudo.m4 index 35f18cae4..37f1f767b 100644 --- a/m4/sudo.m4 +++ b/m4/sudo.m4 @@ -66,7 +66,7 @@ dnl check for bourne shell in well-known locations dnl AC_DEFUN([SUDO_PROG_BSHELL], [AC_MSG_CHECKING([for bourne shell]) found=no -for p in "/bin/sh" "/usr/bin/sh" "/sbin/sh" "/usr/sbin/sh" "/bin/ksh" "/usr/bin/ksh" "/bin/bash" "/usr/bin/bash"; do +for p in "/usr/bin/sh" "/bin/sh" "/usr/sbin/sh" "/sbin/sh" "/usr/bin/ksh" "/bin/ksh" "/usr/bin/bash" "/bin/bash"; do if test -f "$p"; then found=yes AC_MSG_RESULT([$p])