]> granicus.if.org Git - php/commitdiff
fix bug #1550: Builder does not set path to match bin_dir
authorGreg Beaver <cellog@php.net>
Tue, 8 Jun 2004 18:15:11 +0000 (18:15 +0000)
committerGreg Beaver <cellog@php.net>
Tue, 8 Jun 2004 18:15:11 +0000 (18:15 +0000)
pear/PEAR/Builder.php

index 47face0a7e5a9442c370f82569592ed0152b577a..4806155ef5940eac907d535dc51c9bf3941972c0 100644 (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;