X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=Makefile;h=e0e3a6b836f7e20b9a5d9fa07c74e5eb4b618f99;hb=180b4945beb4d4a274ab640f9a18b88dbc9065a5;hp=6630634f0b4512543ba6a2f6f8964694c4be7fa6;hpb=309d295271f95d9267c64535de8c2e638f6614cc;p=m6w6%2Fpecl-ci diff --git a/Makefile b/Makefile index 6630634..e0e3a6b 100644 --- a/Makefile +++ b/Makefile @@ -75,6 +75,7 @@ clean: .PHONY: check check: $(PHP_RELEASES) @if test -z "$(PHP)"; then echo "No php version specified, e.g. PHP=5.6"; exit 1; fi + @if test -z "$(PHP_VERSION)"; then echo "No PHP version akin to $(PHP) available"; exit 1; fi if test -d $(srcdir)/php-$(PHP_VERSION)/.git; then cd $(srcdir)/php-$(PHP_VERSION)/; git pull; fi .PHONY: reconf @@ -134,7 +135,7 @@ $(PECL_DIR)/config.m4: fi; \ else \ mkdir -p $(PECL_DIR); \ - curl -Ss $(PECL_MIRROR)/$(PECL_EXTENSION)$(if $(PECL_VERSION),/$(PECL_VERSION)) \ + curl -LSs $(PECL_MIRROR)/$(PECL_EXTENSION)$(if $(PECL_VERSION),/$(PECL_VERSION)) \ | tar xz --strip-components 1 -C $(PECL_DIR); \ fi