]> git.wh0rd.org Git - fontconfig.git/commitdiff
Bug 18886 installation crashes if fontconfig already installed
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 25 Feb 2010 20:10:41 +0000 (15:10 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 25 Feb 2010 20:10:41 +0000 (15:10 -0500)
Run the uninstalled fc-cache, not the installed one.

Makefile.am

index e08857e596c74dbbcd357b9c3bb70481e73bf74b..1cde132143d15cad42c02598e4ab40285c4cbe95 100644 (file)
@@ -105,8 +105,8 @@ install-data-local: fonts.conf
          $(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \
        fi; fi
        @(if $(RUN_FC_CACHE_TEST); then \
-           echo " $(bindir)/fc-cache -s -f -v"; \
-           $(bindir)/fc-cache -s -f -v; \
+           echo "fc-cache$(EXEEXT) -s -f -v"; \
+           fc-cache/fc-cache$(EXEEXT) -s -f -v; \
        else \
            echo "***"; \
            echo "*** Warning: fonts.cache not built"; \