2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 18:08:23 +00:00

Prefer /usr/bin/sh to /bin/sh to match modern systems.

This commit is contained in:
Todd C. Miller 2014-09-20 09:03:26 -06:00
parent f5647654dd
commit c952155b77
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -15357,7 +15357,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bourne shell" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bourne shell" >&5
$as_echo_n "checking for bourne shell... " >&6; } $as_echo_n "checking for bourne shell... " >&6; }
found=no 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 if test -f "$p"; then
found=yes found=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $p" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $p" >&5

View File

@ -66,7 +66,7 @@ dnl check for bourne shell in well-known locations
dnl dnl
AC_DEFUN([SUDO_PROG_BSHELL], [AC_MSG_CHECKING([for bourne shell]) AC_DEFUN([SUDO_PROG_BSHELL], [AC_MSG_CHECKING([for bourne shell])
found=no 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 if test -f "$p"; then
found=yes found=yes
AC_MSG_RESULT([$p]) AC_MSG_RESULT([$p])