[packages/php-pear-PEAR] improve pear error message (give info what php version is)

glen glen at pld-linux.org
Wed May 21 20:34:13 CEST 2014


commit 079244a29ba9b4e351f525f2ed204f63e095728c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed May 21 21:33:55 2014 +0300

    improve pear error message (give info what php version is)

 ext-check.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ext-check.patch b/ext-check.patch
index d0a9b7c..c3f7784 100644
--- a/ext-check.patch
+++ b/ext-check.patch
@@ -9,7 +9,7 @@
 +// caused by missing extension
 +foreach (array('pcre', 'zlib', 'xml') as $ext) {
 +	if (!extension_loaded($ext)) {
-+		error_log("$argv[0] requires PHP extension $ext.");
++		error_log("pear requires PHP extension '$ext' for ".PHP_VERSION);
 +		exit(1);
 +	}
 +}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-PEAR.git/commitdiff/079244a29ba9b4e351f525f2ed204f63e095728c



More information about the pld-cvs-commit mailing list