com web/rmtools: don't pull all the possible dependency exts if only one could be required: client/include/PeclExt.php
| From: | Anatol Belski | Date: | Thu, 10 Dec 2015 17:48:09 +0000 |
| Subject: | com web/rmtools: don't pull all the possible dependency exts if only one could be required: client/include/PeclExt.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-25959@lists.php.net to get a copy of this message | ||
Commit: a5cf532ace88130a589224b55274b439bb627d4b
Author: Anatol Belski <ab@php.net> Thu, 10 Dec 2015 18:48:09 +0100
Parents: e1b3eda9522c7b40bc43393c8e7b2cd133459d74
Branches: master pecl_legacy
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=a5cf532ace88130a589224b55274b439bb627d4b
Log:
don't pull all the possible dependency exts if only one could be required
Changed paths:
M client/include/PeclExt.php
Diff:
diff --git a/client/include/PeclExt.php b/client/include/PeclExt.php
index f213bb8..6f33805 100644
--- a/client/include/PeclExt.php
+++ b/client/include/PeclExt.php
@@ -1109,7 +1109,7 @@ nodoc:
continue;
}
- $pkgs = glob("$path/*");
+ $pkgs = glob("$path/*$name*");
if (!$pkgs) {
continue;