From: Todd C. Miller Date: Tue, 17 Jan 2012 18:11:05 +0000 (-0500) Subject: Fix sh warning; use "test" instead of "[" X-Git-Tag: SUDO_1_7_9~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8401edcbd09054b4c2449d5e0f9e164ff173d726;p=sudo Fix sh warning; use "test" instead of "[" --HG-- branch : 1.7 --- diff --git a/configure b/configure index 64d074f56..a43a246ee 100755 --- a/configure +++ b/configure @@ -22173,7 +22173,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 d86040f2a..42e63458c 100644 --- a/configure.in +++ b/configure.in @@ -3000,7 +3000,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