]> git.sur5r.net Git - openldap/commitdiff
More for ITS#6026: test -x is unportable, use test -f.
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 20 Mar 2009 17:25:02 +0000 (17:25 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 20 Mar 2009 17:25:02 +0000 (17:25 +0000)
See Info node (autoconf)Limitations of Builtins.

tests/scripts/all

index 9d0ac955f56483c2fb7b378f979b12017674d86e..1dbf4d85b5295f0f66651a1bb5d47175d2d9c5e5 100755 (executable)
@@ -31,7 +31,7 @@ for CMD in $SRCDIR/scripts/test*; do
                *.bak)  continue;;
                *.orig) continue;;
                *.sav)  continue;;
-               *)              test -x "$CMD" || continue;;
+               *)              test -f "$CMD" || continue;;
        esac
 
        # remove cruft from prior test