]> granicus.if.org Git - php/commitdiff
Make the phar symlink relative
authorponce <matteo.bernardini@gmail.com>
Thu, 21 May 2015 11:30:58 +0000 (13:30 +0200)
committerRemi Collet <remi@php.net>
Thu, 21 May 2015 12:03:18 +0000 (14:03 +0200)
or we got a symlink pointing to the build files
thanks also to remicollet

ext/phar/Makefile.frag

index 6516ddfabddc1201e442379533c0611d2c1c3915..b8b1b42d438f809fa8957762cae5c5375d73cdf3 100644 (file)
@@ -39,7 +39,7 @@ install-pharcmd: pharcmd
        -@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
        $(INSTALL) $(builddir)/phar.phar $(INSTALL_ROOT)$(bindir)
        -@rm -f $(INSTALL_ROOT)$(bindir)/phar
-       $(LN_S) -f $(INSTALL_ROOT)$(bindir)/phar.phar $(INSTALL_ROOT)$(bindir)/phar
+       $(LN_S) -f phar.phar $(INSTALL_ROOT)$(bindir)/phar
        @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
        @$(INSTALL_DATA) $(builddir)/phar.1 $(INSTALL_ROOT)$(mandir)/man1/phar.1
        @$(INSTALL_DATA) $(builddir)/phar.phar.1 $(INSTALL_ROOT)$(mandir)/man1/phar.phar.1