fix bug #1550: Builder does not set path to match bin_dir

This commit is contained in:
Greg Beaver 2004-06-08 18:15:11 +00:00
parent 29a09f984c
commit d14e259823

View File

@ -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;