From: Greg Beaver Date: Tue, 8 Jun 2004 18:15:11 +0000 (+0000) Subject: fix bug #1550: Builder does not set path to match bin_dir X-Git-Tag: php-5.0.0~249 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d14e2598233ab70d82814c6cc484a2f9bda0e67c;p=php fix bug #1550: Builder does not set path to match bin_dir --- diff --git a/pear/PEAR/Builder.php b/pear/PEAR/Builder.php index 47face0a7e..4806155ef5 100644 --- a/pear/PEAR/Builder.php +++ b/pear/PEAR/Builder.php @@ -198,6 +198,7 @@ class PEAR_Builder extends PEAR_Common $dir = getcwd(); $this->log(2, "building in $dir"); $this->current_callback = $callback; + putenv('PATH=' . getenv('PATH') . ':' . $this->config->get('bin_dir')); $err = $this->_runCommand("phpize", array(&$this, 'phpizeCallback')); if (PEAR::isError($err)) { return $err;