]> 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:11:05 +0000 (13:11 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 17 Jan 2012 18:11:05 +0000 (13:11 -0500)
--HG--
branch : 1.7

configure
configure.in

index 64d074f5647bb47691888f0d600654fc4d0e57d3..a43a246ee32b90e3f4c5dc719e13f986c386fa78 100755 (executable)
--- 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
index d86040f2a5161856ff2e688f5eaa45490ce6ba9b..42e63458cc72f32b57ad450d9228b1932409b711 100644 (file)
@@ -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