cvs: peardoc / configure.php
| From: | Christian Weiske | Date: | Tue, 30 Dec 2008 15:03:01 +0000 |
| Subject: | cvs: peardoc / configure.php | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11404@lists.php.net to get a copy of this message | ||
cweiske Tue Dec 30 15:03:01 2008 UTC
Modified files:
/peardoc configure.php
Log:
no negative error codes
http://cvs.php.net/viewvc.cgi/peardoc/configure.php?r1=1.5&r2=1.6&diff_format=u
Index: peardoc/configure.php
diff -u peardoc/configure.php:1.5 peardoc/configure.php:1.6
--- peardoc/configure.php:1.5 Wed Nov 12 19:50:10 2008
+++ peardoc/configure.php Tue Dec 30 15:03:01 2008
@@ -41,7 +41,7 @@
require_once 'Console/CommandLine.php';
$parser = new Console_CommandLine(array(
'description' => 'configure the pear manual build',
- 'version' => '$Id: configure.php,v 1.5 2008/11/12 19:50:10 cweiske
Exp $'
+ 'version' => '$Id: configure.php,v 1.6 2008/12/30 15:03:01 cweiske
Exp $'
));
$parser->addOption('verbose', array(
@@ -207,7 +207,7 @@
if ($bHideErrors) {
$msg = ob_get_clean();
if ($msg) {
- $GLOBALS['errorcode'] = -3;
+ $GLOBALS['errorcode'] = 3;
logMsg(' There were warnings loading the manual');
}
}
@@ -215,7 +215,7 @@
if (isset($msg) && $msg) {
logMsg($msg);
}
- $GLOBALS['errorcode'] = -4;
+ $GLOBALS['errorcode'] = 4;
throw new Exception('Failed to load manual.xml');
}
$dom->xinclude();
@@ -233,7 +233,7 @@
logMsg(' xmllint --valid --noout manual.xml');
logMsg(' xmllint --valid --noout giant.xml');
logMsg(' to get detailled error messages.');
- $GLOBALS['errorcode'] = -4;
+ $GLOBALS['errorcode'] = 5;
}
$dom->save($strGiant);