Commit: 89d9c90e3102bf51bf05f7951e21eebc823a0f38 Author: Anatol Belski <[email protected]> Thu, 13 Jul 2017 00:11:22 +0200 Parents: a9e5de8067a9e14bb6d54c49bf48275b14aa9755 Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=89d9c90e3102bf51bf05f7951e21eebc823a0f38 Log: fix tool path Changed paths: M include/PeclExt.php Diff: diff --git a/include/PeclExt.php b/include/PeclExt.php index 53213ec..0e7529d 100644 --- a/include/PeclExt.php +++ b/include/PeclExt.php @@ -1203,6 +1203,7 @@ nodoc: protected function getToolFilepath($tool, $hard_error = true) { $path = `where $tool`; + $path = trim($path); if (!$path && $hard_error) { throw new \Exception("'$tool' not found."); -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
