summaryrefslogtreecommitdiff
path: root/m4/sudo.m4
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>2014-09-20 09:03:26 -0600
committerTodd C. Miller <Todd.Miller@courtesan.com>2014-09-20 09:03:26 -0600
commit33e0af701574c3f7e035e58c491d2ef5d5279634 (patch)
treee266ea70d50b7803595cab033fc9b9985b68d845 /m4/sudo.m4
parent8255548f28ea5c5f687188dfa04da98bfe23bb4f (diff)
downloadsudo-33e0af701574c3f7e035e58c491d2ef5d5279634.tar.gz
Prefer /usr/bin/sh to /bin/sh to match modern systems.
Diffstat (limited to 'm4/sudo.m4')
-rw-r--r--m4/sudo.m42
1 files changed, 1 insertions, 1 deletions
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])