cvs: peardoc / configure.php
| From: | Christian Weiske | Date: | Fri, 02 Jan 2009 14:21:58 +0000 |
| Subject: | cvs: peardoc / configure.php | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11412@lists.php.net to get a copy of this message | ||
cweiske Fri Jan 2 14:21:58 2009 UTC
Modified files:
/peardoc configure.php
Log:
always exit with status code, not only on exception
http://cvs.php.net/viewvc.cgi/peardoc/configure.php?r1=1.6&r2=1.7&diff_format=u
Index: peardoc/configure.php
diff -u peardoc/configure.php:1.6 peardoc/configure.php:1.7
--- peardoc/configure.php:1.6 Tue Dec 30 15:03:01 2008
+++ peardoc/configure.php Fri Jan 2 14:21:58 2009
@@ -26,10 +26,12 @@
} catch (Exception $e) {
logMsg('Exception:');
logMsg($e->getMessage());
- exit($GLOBALS['errorcode']);
}
+exit($GLOBALS['errorcode']);
+
+
/**
* Parses commandline arguments, displays help if necessary and returns
* an array of parsed parameters.
@@ -41,7 +43,7 @@
require_once 'Console/CommandLine.php';
$parser = new Console_CommandLine(array(
'description' => 'configure the pear manual build',
- 'version' => '$Id: configure.php,v 1.6 2008/12/30 15:03:01 cweiske
Exp $'
+ 'version' => '$Id: configure.php,v 1.7 2009/01/02 14:21:58 cweiske
Exp $'
));
$parser->addOption('verbose', array(