From 180b4945beb4d4a274ab640f9a18b88dbc9065a5 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 7 Jun 2019 10:04:45 +0200 Subject: [PATCH] bail out on unknown PHP version --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index d20e6a4..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 -- 2.30.2