diff options
Diffstat (limited to 'pear/PEAR/Command/Build.php')
| -rw-r--r-- | pear/PEAR/Command/Build.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pear/PEAR/Command/Build.php b/pear/PEAR/Command/Build.php index ed97903454..323a2543cc 100644 --- a/pear/PEAR/Command/Build.php +++ b/pear/PEAR/Command/Build.php @@ -5,10 +5,10 @@ // +----------------------------------------------------------------------+ // | Copyright (c) 1997-2003 The PHP Group | // +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | +// | This source file is subject to version 3.0 of the PHP license, | // | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | +// | available through the world-wide-web at the following url: | +// | http://www.php.net/license/3_0.txt. | // | If you did not receive a copy of the PHP license and are unable to | // | obtain it through the world-wide-web, please send a note to | // | license@php.net so we can mail you a copy immediately. | @@ -66,7 +66,7 @@ Builds one or more extensions contained in a package.' $params[0] = 'package.xml'; } $builder = &new PEAR_Builder($this->ui); - $this->verbose = $this->config->get('verbose'); + $this->debug = $this->config->get('verbose'); $err = $builder->build($params[0], array(&$this, 'buildCallback')); if (PEAR::isError($err)) { return $err; @@ -79,8 +79,8 @@ Builds one or more extensions contained in a package.' function buildCallback($what, $data) { - if (($what == 'cmdoutput' && $this->verbose > 1) || - ($what == 'output' && $this->verbose > 0)) { + if (($what == 'cmdoutput' && $this->debug > 1) || + ($what == 'output' && $this->debug > 0)) { $this->ui->outputData(rtrim($data), 'build'); } } |
