projects
/
m6w6
/
pecl-ci
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
90af692
)
exit after first found version
author
Michael Wallner
<mike@php.net>
Tue, 4 Apr 2017 09:48:21 +0000
(11:48 +0200)
committer
Michael Wallner
<mike@php.net>
Tue, 4 Apr 2017 09:48:21 +0000
(11:48 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 28df30942b3fff34ccf63b1a766a8e8d376c894a..93caffb1843b2388d82a819506546c1ffb0427bd 100644
(file)
--- 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