cvs: pear-core / package-PEAR.xml package2.xml /scripts pearcmd.php
| From: | Greg Beaver | Date: | Mon, 02 Jan 2006 18:05:53 +0000 |
| Subject: | cvs: pear-core / package-PEAR.xml package2.xml /scripts pearcmd.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-37260@lists.php.net to get a copy of this message | ||
cellog Mon Jan 2 18:05:53 2006 UTC
Modified files:
/pear-core package-PEAR.xml package2.xml
/pear-core/scripts pearcmd.php
Log:
* fix Bug #6218: the \"pear\" command does nothing
http://cvs.php.net/viewcvs.cgi/pear-core/package-PEAR.xml?r1=1.323&r2=1.324&diff_format=u
Index: pear-core/package-PEAR.xml
diff -u pear-core/package-PEAR.xml:1.323 pear-core/package-PEAR.xml:1.324
--- pear-core/package-PEAR.xml:1.323 Mon Jan 2 17:56:51 2006
+++ pear-core/package-PEAR.xml Mon Jan 2 18:05:53 2006
@@ -82,6 +82,7 @@
* fix Bug #6048: PEAR_Frontend::log parameters are wrong
* fix Bug #6106: Notices by list-upgrades (caused by time-outs ?)
* fix Bug #6145: Can't install PEAR with INSTALL_ROOT environment
+ * fix Bug #6218: the "pear" command does nothing
* fix Bug #6269: System::which() returns silliness if passed null
* fix Bug #6322: Installer fails to follow redirects [patch by Bertrand Gugger]
* fix Request #6119: Add PEAR_Frontend_Gtk2 support to PEAR
http://cvs.php.net/viewcvs.cgi/pear-core/package2.xml?r1=1.216&r2=1.217&diff_format=u
Index: pear-core/package2.xml
diff -u pear-core/package2.xml:1.216 pear-core/package2.xml:1.217
--- pear-core/package2.xml:1.216 Mon Jan 2 17:56:51 2006
+++ pear-core/package2.xml Mon Jan 2 18:05:53 2006
@@ -87,6 +87,7 @@
* fix Bug #6048: PEAR_Frontend::log parameters are wrong
* fix Bug #6106: Notices by list-upgrades (caused by time-outs ?)
* fix Bug #6145: Can't install PEAR with INSTALL_ROOT environment
+ * fix Bug #6218: the "pear" command does nothing
* fix Bug #6269: System::which() returns silliness if passed null
* fix Bug #6322: Installer fails to follow redirects [patch by Bertrand Gugger]
* fix Request #6119: Add PEAR_Frontend_Gtk2 support to PEAR
http://cvs.php.net/viewcvs.cgi/pear-core/scripts/pearcmd.php?r1=1.32&r2=1.33&diff_format=u
Index: pear-core/scripts/pearcmd.php
diff -u pear-core/scripts/pearcmd.php:1.32 pear-core/scripts/pearcmd.php:1.33
--- pear-core/scripts/pearcmd.php:1.32 Thu Dec 1 07:56:20 2005
+++ pear-core/scripts/pearcmd.php Mon Jan 2 18:05:53 2006
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: pearcmd.php,v 1.32 2005/12/01 07:56:20 cellog Exp $
+// $Id: pearcmd.php,v 1.33 2006/01/02 18:05:53 cellog Exp $
ob_end_clean();
if (!defined('PEAR_RUNTYPE')) {
@@ -70,6 +70,10 @@
PEAR_Command::setFrontendType('CLI');
$all_commands = PEAR_Command::getCommands();
+// remove this next part when we stop supporting that crap-ass PHP 4.2
+if (!isset($_SERVER['argv']) && !isset($argv) &&
!isset($HTTP_SERVER_VARS['argv'])) {
+ die('ERROR: either use the CLI php executable, or set register_argc_argv=On in
php.ini');
+}
$argv = Console_Getopt::readPHPArgv();
// fix CGI sapi oddity - the -- in pear.bat/pear is not removed
if (php_sapi_name() != 'cli' && isset($argv[1]) && $argv[1] ==
'--') {