cvs: pear-core(PEAR_1_3) /PEAR/Command Package.php
| From: | Greg Beaver | Date: | Sat, 23 Oct 2004 17:01:26 +0000 |
| Subject: | cvs: pear-core(PEAR_1_3) /PEAR/Command Package.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-1129@lists.php.net to get a copy of this message | ||
cellog Sat Oct 23 13:01:26 2004 EDT
Modified files: (Branch: PEAR_1_3)
/pear-core/PEAR/Command Package.php
Log:
fix Arnaud's problem with pear p not working like pear pv
http://cvs.php.net/diff.php/pear-core/PEAR/Command/Package.php?r1=1.61.2.2&r2=1.61.2.3&ty=u
Index: pear-core/PEAR/Command/Package.php
diff -u pear-core/PEAR/Command/Package.php:1.61.2.2 pear-core/PEAR/Command/Package.php:1.61.2.3
--- pear-core/PEAR/Command/Package.php:1.61.2.2 Fri Oct 22 00:59:38 2004
+++ pear-core/PEAR/Command/Package.php Sat Oct 23 13:01:26 2004
@@ -17,7 +17,7 @@
// | Martin Jansen <mj@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Package.php,v 1.61.2.2 2004/10/22 04:59:38 cellog Exp $
+// $Id: Package.php,v 1.61.2.3 2004/10/23 17:01:26 cellog Exp $
require_once 'PEAR/Common.php';
require_once 'PEAR/Command/Common.php';
@@ -255,6 +255,9 @@
{
$this->output = '';
include_once 'PEAR/Packager.php';
+ if (sizeof($params) < 1) {
+ $params[0] = "package.xml";
+ }
$pkginfofile = isset($params[0]) ? $params[0] : 'package.xml';
$packager =& new PEAR_Packager();
$err = $warn = array();