From f863b0e7f40277d8fcbd349b9b4facf72f395492 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Thu, 23 Jul 2009 15:48:04 +0000 Subject: [PATCH] fix php bug #48783: make install will fail saying phar file exists --- ext/phar/Makefile.frag | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/phar/Makefile.frag b/ext/phar/Makefile.frag index b115e9757c..076ce8a93c 100755 --- a/ext/phar/Makefile.frag +++ b/ext/phar/Makefile.frag @@ -43,4 +43,5 @@ $(builddir)/phar.phar: $(builddir)/phar.php $(builddir)/phar/phar.inc $(srcdir)/ install-pharcmd: pharcmd -@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir) $(INSTALL) $(builddir)/phar.phar $(INSTALL_ROOT)$(bindir) + -@rm -f $(INSTALL_ROOT)$(bindir)/phar $(LN_S) -f $(bindir)/phar.phar $(INSTALL_ROOT)$(bindir)/phar -- 2.50.1