try that again
[m6w6/ext-pq] / travis / pecl / Makefile
index a338a5d42880992229dd32aaeac5b6e263c14307..26d6b39c897f4408608919f8120ccb1d148e6f21 100644 (file)
@@ -23,7 +23,7 @@ PECL_SONAME ?= $(if $(shell cut -d: -f2 <<<"$(PECL)"),$(shell cut -d: -f2 <<<"$(
 PECL_VERSION ?= $(shell cut -d: -f3 -s <<<"$(PECL)")
 PECL_INI = $(with_config_file_scan_dir)/pecl.ini
 
-PHP_VERSION ?= $(shell php $(srcdir)/php-version.php $(PHP) < php-versions.json)
+PHP_VERSION ?= $(shell php $(srcdir)/php-version.php $(PHP) < $(srcdir)/php-versions.json 2>/dev/null)
 
 .PHONY: all php check clean reconf pecl ext test
 .SUFFIXES: