]> granicus.if.org Git - php/commitdiff
s/verbose/debug/
authorTomas V.V.Cox <cox@php.net>
Mon, 16 Jun 2003 17:14:27 +0000 (17:14 +0000)
committerTomas V.V.Cox <cox@php.net>
Mon, 16 Jun 2003 17:14:27 +0000 (17:14 +0000)
pear/PEAR/Command/Build.php

index 0607113761e254bdf00fcb50d0f87180d7d60929..323a2543cc52f4a19919de109bdda97a67375b99 100644 (file)
@@ -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');
         }
     }