summaryrefslogtreecommitdiff
path: root/pear/Makefile.frag
diff options
context:
space:
mode:
Diffstat (limited to 'pear/Makefile.frag')
-rw-r--r--pear/Makefile.frag2
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/Makefile.frag b/pear/Makefile.frag
index 75e25ffa3c..86acc28431 100644
--- a/pear/Makefile.frag
+++ b/pear/Makefile.frag
@@ -10,7 +10,7 @@ install-pear-installer: $(top_builddir)/sapi/cli/php
install-pear:
@echo "Installing PEAR environment: $(INSTALL_ROOT)$(peardir)/"
- @if $(srcdir)/install-pear.phar $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
+ @if test -f $(srcdir)/install-pear.phar && $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
$(MAKE) -s install-pear-installer; \
else \
cat $(srcdir)/install-pear.txt; \