From dd7132d4782c926ece12f4255bd6a3d67edaf5f0 Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Sat, 7 Jun 2003 18:44:46 +0000 Subject: [PATCH] Martin's run-test error msg improvements :-) --- pear/PEAR/Command/Package.php | 6 ++---- 1 file 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); -- 2.50.1