From: Michael Wallner Date: Tue, 4 Apr 2017 09:48:21 +0000 (+0200) Subject: exit after first found version X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=79de9c8e52f16a2e06324683cf4c00c91df1b6c1;p=m6w6%2Ftravis-pecl exit after first found version --- diff --git a/Makefile b/Makefile index 28df309..93caffb 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ PECL_DIR := $(if $(filter ext ext%, $(MAKECMDGOALS)), $(curdir), $(srcdir)/pecl- #PHP_VERSION_MAJOR = $(firstword $(subst ., ,$(PHP))) PHP_RELEASES = $(srcdir)/releases.tsv -PHP_VERSION ?= $(shell test -e $(PHP_RELEASES) && cat $(PHP_RELEASES) | awk -F "\t" '/^$(PHP)\t/{print $$2}') +PHP_VERSION ?= $(shell test -e $(PHP_RELEASES) && cat $(PHP_RELEASES) | awk -F "\t" '/^$(PHP)\t/{print $$2; exit}') CPPCHECK_STD ?= c89 CPPCHECK_ENABLE ?= portability,style