com web/rmtools: fix tool path: include/PeclExt.php

From: Date: Wed, 12 Jul 2017 22:11:22 +0000
Subject: com web/rmtools: fix tool path: include/PeclExt.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-26211@lists.php.net to get a copy of this message
Commit: 89d9c90e3102bf51bf05f7951e21eebc823a0f38 Author: Anatol Belski <ab@php.net> 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.");

« previous php.webmaster (#26211) next »