]> granicus.if.org Git - sudo/commitdiff
Fix sh warning; use "test" instead of "["
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 17 Jan 2012 18:07:35 +0000 (13:07 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 17 Jan 2012 18:07:35 +0000 (13:07 -0500)
configure
configure.in

index b926d0a39e59c4178173c05b094b993b3c1e40bb..139cecc6207acf123acdd598c3394d23c1a2bba9 100755 (executable)
--- 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
index 3a2f056d83610dbe996d5252a6ff4436ed543d08..d2b457e9d2163c6ef9e64fc098acdfd260f78fc3 100644 (file)
@@ -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