// +----------------------------------------------------------------------+
// | Authors: Stig Bakken <ssb@fast.no> |
// | Tomas V.V.Cox <cox@idecnet.com> |
+// | |
// +----------------------------------------------------------------------+
//
// $Id$
// {{{ package()
- function package($pkgfile = 'package.xml')
+ function package($pkgfile = null)
{
+ if (empty($pkgfile)) {
+ $pkgfile = 'package.xml';
+ }
$pkginfo = $this->infoFromDescriptionFile($pkgfile);
if (PEAR::isError($pkginfo)) {
return $pkginfo;