]> granicus.if.org Git - apache/commitdiff
test -e isn't portable; use test -f instead
authorJeff Trawick <trawick@apache.org>
Thu, 19 Apr 2001 19:02:54 +0000 (19:02 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 19 Apr 2001 19:02:54 +0000 (19:02 +0000)
this gets DSO builds working on Solaris (dunno where else) again

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88897 13f79535-47bb-0310-9956-ffa450edef68

build/rules.mk

index 46a6fda904fbc1c359f8d1c4ea876c7926ff99f5..4c6df265cea8519ff021926d09db29319c855367 100644 (file)
@@ -184,7 +184,7 @@ shared-modules-recursive:
                        (cd $$i && $(MAKE) $$target) || exit 1; \
                fi; \
        done; \
-       if test -e 'modules.mk'; then \
+       if test -f 'modules.mk'; then \
                if test -n '$(shared_targets)'; then \
                        echo "Building shared modules: $(shared_targets)"; \
                        if test -z '$(shared_targets)'; then ok=yes; fi; \