cvs: php4 /pear/PEAR/Command Package.php
| From: | Tomas V.V.Cox | Date: | Sat, 07 Jun 2003 18:44:46 +0000 |
| Subject: | cvs: php4 /pear/PEAR/Command Package.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-10757@lists.php.net to get a copy of this message | ||
cox Sat Jun 7 14:44:46 2003 EDT
Modified files:
/php4/pear/PEAR/Command Package.php
Log:
Martin's run-test error msg improvements :-)
Index: php4/pear/PEAR/Command/Package.php
diff -u php4/pear/PEAR/Command/Package.php:1.51 php4/pear/PEAR/Command/Package.php:1.52
--- php4/pear/PEAR/Command/Package.php:1.51 Sat Jun 7 12:45:53 2003
+++ php4/pear/PEAR/Command/Package.php Sat Jun 7 14:44:46 2003
@@ -17,7 +17,7 @@
// | Martin Jansen <mj@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Package.php,v 1.51 2003/06/07 16:45:53 cox Exp $
+// $Id: Package.php,v 1.52 2003/06/07 18:44:46 cox Exp $
require_once 'PEAR/Common.php';
require_once 'PEAR/Command/Common.php';
@@ -446,10 +446,8 @@
if (!file_exists($run_tests)) {
$run_tests = PEAR_INSTALL_DIR . DIRECTORY_SEPARATOR . 'run-tests.php';
if (!file_exists($run_tests)) {
- return $this->raiseError("No `run-tests.php' file found at $rtsts. You
need ".
- "to copy there the run-tests.php file located
".
- "inside the sources of your php distribution
package, ".
- "in order to make this command
available.");
+ return $this->raiseError("No run-tests.php file found. Please copy this
".
+ "file from the sources of your PHP
distribution to $rtsts");
}
}
$plist = implode(" ", $params);