From: Todd C. Miller Date: Tue, 17 Jan 2012 18:07:35 +0000 (-0500) Subject: Fix sh warning; use "test" instead of "[" X-Git-Tag: SUDO_1_8_4~48^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7747b481ddcda8b6e1944b2d2dbe1ad145b600f3;p=sudo Fix sh warning; use "test" instead of "[" --- diff --git a/configure b/configure index b926d0a39..139cecc62 100755 --- a/configure +++ b/configure @@ -22245,7 +22245,7 @@ fi if test "$with_pam" = "yes"; then case $host in *-*-hpux*) - if -f /usr/lib/security/libpam_hpsec.so.1 ; then + if test -f /usr/lib/security/libpam_hpsec.so.1; then { $as_echo "$as_me:${as_lineno-$LINENO}: You may wish to add the following line to /etc/pam.conf" >&5 $as_echo "$as_me: You may wish to add the following line to /etc/pam.conf" >&6;} { $as_echo "$as_me:${as_lineno-$LINENO}: sudo session required libpam_hpsec.so.1 bypass_umask bypass_last_login" >&5 diff --git a/configure.in b/configure.in index 3a2f056d8..d2b457e9d 100644 --- a/configure.in +++ b/configure.in @@ -3114,7 +3114,7 @@ dnl if test "$with_pam" = "yes"; then case $host in *-*-hpux*) - if [ -f /usr/lib/security/libpam_hpsec.so.1 ]; then + if test -f /usr/lib/security/libpam_hpsec.so.1; then AC_MSG_NOTICE([You may wish to add the following line to /etc/pam.conf]) AC_MSG_NOTICE([sudo session required libpam_hpsec.so.1 bypass_umask bypass_last_login]) fi