cellog          Sat Nov  5 13:15:08 2005 EDT

  Modified files:              (Branch: PHP_4_4)
    /php-src/pear       install-pear.php 
  Log:
  add further debug information in case of error
  
http://cvs.php.net/diff.php/php-src/pear/install-pear.php?r1=1.6.2.14.4.3&r2=1.6.2.14.4.4&ty=u
Index: php-src/pear/install-pear.php
diff -u php-src/pear/install-pear.php:1.6.2.14.4.3 
php-src/pear/install-pear.php:1.6.2.14.4.4
--- php-src/pear/install-pear.php:1.6.2.14.4.3  Sat Nov  5 12:59:02 2005
+++ php-src/pear/install-pear.php       Sat Nov  5 13:15:05 2005
@@ -1,6 +1,6 @@
 <?php
 
-/* $Id: install-pear.php,v 1.6.2.14.4.3 2005/11/05 17:59:02 cellog Exp $ */
+/* $Id: install-pear.php,v 1.6.2.14.4.4 2005/11/05 18:15:05 cellog Exp $ */
 
 error_reporting(E_ALL);
 $pear_dir = dirname(__FILE__);
@@ -116,7 +116,8 @@
 foreach ($install_files as $package => $instfile) {
     $info = &$pkg->fromAnyFile($instfile, PEAR_VALIDATE_INSTALLING);
     if (PEAR::isError($info)) {
-        $ui->outputData(sprintf("[PEAR] %s: %s", $package, 
$info->getMessage()));
+        $ui->outputData(sprintf("[PEAR] %s: %s", $package . " ($instfile)",
+            $info->getMessage()));
         continue;
     }
     $new_ver = $info->getVersion();

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to