summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas V.V.Cox <cox@php.net>2003-06-07 18:44:46 +0000
committerTomas V.V.Cox <cox@php.net>2003-06-07 18:44:46 +0000
commitdd7132d4782c926ece12f4255bd6a3d67edaf5f0 (patch)
treec8b040d22b44e6c8d41bed7e1c7935645c598988
parent5930c2fbbcd3cb4c0efc458050f5903c153d642d (diff)
downloadphp-git-dd7132d4782c926ece12f4255bd6a3d67edaf5f0.tar.gz
Martin's run-test error msg improvements :-)
-rw-r--r--pear/PEAR/Command/Package.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/pear/PEAR/Command/Package.php b/pear/PEAR/Command/Package.php
index a8a2c46b0a..947f26d667 100644
--- a/pear/PEAR/Command/Package.php
+++ b/pear/PEAR/Command/Package.php
@@ -446,10 +446,8 @@ Wrote: /usr/src/redhat/RPMS/i386/PEAR::Net_Socket-1.0-1.i386.rpm
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);