From: Tomas V.V.Cox Date: Sat, 7 Jun 2003 18:44:46 +0000 (+0000) Subject: Martin's run-test error msg improvements :-) X-Git-Tag: RELEASE_1_0_2~363 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd7132d4782c926ece12f4255bd6a3d67edaf5f0;p=php Martin's run-test error msg improvements :-) --- 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);