cvs: pear-core /PEAR/PackageFile/Generator v2.php
| From: | Greg Beaver | Date: | Sun, 12 Dec 2004 19:15:08 +0000 |
| Subject: | cvs: pear-core /PEAR/PackageFile/Generator v2.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-27255@lists.php.net to get a copy of this message | ||
cellog Sun Dec 12 14:15:08 2004 EDT
Modified files:
/pear-core/PEAR/PackageFile/Generator v2.php
Log:
make error message consistent with toPackageFile
http://cvs.php.net/diff.php/pear-core/PEAR/PackageFile/Generator/v2.php?r1=1.16&r2=1.17&ty=u
Index: pear-core/PEAR/PackageFile/Generator/v2.php
diff -u pear-core/PEAR/PackageFile/Generator/v2.php:1.16
pear-core/PEAR/PackageFile/Generator/v2.php:1.17
--- pear-core/PEAR/PackageFile/Generator/v2.php:1.16 Sun Dec 12 13:44:54 2004
+++ pear-core/PEAR/PackageFile/Generator/v2.php Sun Dec 12 14:15:06 2004
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: v2.php,v 1.16 2004/12/12 18:44:54 cellog Exp $
+// $Id: v2.php,v 1.17 2004/12/12 19:15:06 cellog Exp $
/**
* This class converts a PEAR_PackageFile_v2 object into any output format.
@@ -144,7 +144,7 @@
' "' . $where . DIRECTORY_SEPARATOR .
'package.xml"');
}
if (!$this->_packagefile->validate(PEAR_VALIDATE_PACKAGING)) {
- return PEAR::raiseError('PEAR_Packagefile_v2::toTgz: invalid package file');
+ return PEAR::raiseError('PEAR_Packagefile_v2::toTgz: invalid package.xml');
}
$ext = $compress ? '.tgz' : '.tar';
$pkgver = $this->_packagefile->getPackage() . '-' .
$this->_packagefile->getVersion();
@@ -865,7 +865,7 @@
// | Authors: Stephan Schmidt <schst@php-tools.net> |
// +----------------------------------------------------------------------+
//
-// $Id: v2.php,v 1.16 2004/12/12 18:44:54 cellog Exp $
+// $Id: v2.php,v 1.17 2004/12/12 19:15:06 cellog Exp $
/**
* error code for invalid chars in XML name