diff options
| author | Marcus Boerger <helly@php.net> | 2008-06-02 15:50:42 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2008-06-02 15:50:42 +0000 |
| commit | 4e61f63d3fb8ef693ed9de2779e01178c266f83e (patch) | |
| tree | ecaec355254e2126323f0c52a923411ac62e9dd4 | |
| parent | 159561e9dad79ae266217f1309ea37c505db4074 (diff) | |
| download | php-git-4e61f63d3fb8ef693ed9de2779e01178c266f83e.tar.gz | |
- Remove checked-in or older version of phar.phar as we might not be able to open it
| -rwxr-xr-x | ext/phar/Makefile.frag | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/phar/Makefile.frag b/ext/phar/Makefile.frag index 1fc1673875..d18136fc73 100755 --- a/ext/phar/Makefile.frag +++ b/ext/phar/Makefile.frag @@ -13,7 +13,8 @@ $(builddir)/phar.php: $(srcdir)/build_precommand.php $(srcdir)/phar/*.inc $(srcd $$PHP $(srcdir)/build_precommand.php > $(builddir)/phar.php $(builddir)/phar.phar: $(builddir)/phar.php $(srcdir)/phar/*.inc $(srcdir)/phar/*.php $(SAPI_CLI_PATH) - if test -x "$(PHP_EXECUTABLE)"; then \ + -@test -f $(builddir)/phar.phar && rm -f $(builddir)/phar.phar + -@if test -x "$(PHP_EXECUTABLE)"; then \ export PHP="$(PHP_EXECUTABLE)"; \ export BANG="$(PHP_EXECUTABLE)"; \ else \ |
