cvs: pear-core /PEAR Installer.php
| From: | Greg Beaver | Date: | Mon, 21 Feb 2005 05:31:20 +0000 |
| Subject: | cvs: pear-core /PEAR Installer.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-29600@lists.php.net to get a copy of this message | ||
cellog Mon Feb 21 00:31:20 2005 EDT
Modified files:
/pear-core/PEAR Installer.php
Log:
improve seriously unhelpful error message
http://cvs.php.net/diff.php/pear-core/PEAR/Installer.php?r1=1.193&r2=1.194&ty=u
Index: pear-core/PEAR/Installer.php
diff -u pear-core/PEAR/Installer.php:1.193 pear-core/PEAR/Installer.php:1.194
--- pear-core/PEAR/Installer.php:1.193 Sun Feb 20 21:39:26 2005
+++ pear-core/PEAR/Installer.php Mon Feb 21 00:31:20 2005
@@ -19,7 +19,7 @@
// | Greg Beaver <cellog@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Installer.php,v 1.193 2005/02/21 02:39:26 cellog Exp $
+// $Id: Installer.php,v 1.194 2005/02/21 05:31:20 cellog Exp $
require_once "OS/Guess.php";
require_once 'PEAR/Downloader.php';
@@ -476,7 +476,7 @@
}
} else { // file with tasks
if (!file_exists($orig_file)) {
- return $this->raiseError("file does not exist",
+ return $this->raiseError("file $orig_file does not exist",
PEAR_INSTALLER_FAILED);
}
$fp = fopen($orig_file, "r");