]> arthur.barton.de Git - netatalk.git/commitdiff
The -e argument to test doesn't work for all implementations of test.
authorjmarcus <jmarcus>
Wed, 10 Oct 2001 07:21:41 +0000 (07:21 +0000)
committerjmarcus <jmarcus>
Wed, 10 Oct 2001 07:21:41 +0000 (07:21 +0000)
Replace this with a -f option.

config/Makefile.am

index 93982de56d1d51e61e0fda3d897b183c964bbe0e..6afa444de03f4a45115936380d3e09d9b47fbea4 100644 (file)
@@ -32,7 +32,7 @@ pkgconfdir = @PKGCONFDIR@
 install-config-files: $(CONFFILES) $(GENFILES)
        $(mkinstalldirs) $(DESTDIR)$(pkgconfdir)
        for f in $(CONFFILES) $(GENFILES); do \
-               if test "x$(OVERWRITE_CONFIG)" = "xyes" -o ! -e $(DESTDIR)$(pkgconfdir)/$$f; then \
+               if test "x$(OVERWRITE_CONFIG)" = "xyes" -o ! -f $(DESTDIR)$(pkgconfdir)/$$f; then \
                        echo "$(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir)"; \
                        $(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir); \
                else \