cvs: phpdoc(REF_STRUCT_DEV) / configure.php
| From: | Richard Quadling | Date: | Thu, 25 Oct 2007 08:56:34 +0000 |
| Subject: | cvs: phpdoc(REF_STRUCT_DEV) / configure.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-266@lists.php.net to get a copy of this message | ||
rquadling Thu Oct 25 08:56:34 2007 UTC
Modified files: (Branch: REF_STRUCT_DEV)
/phpdoc configure.php
Log:
Allow the shell to know if configure.php completed successfully or not.
http://cvs.php.net/viewvc.cgi/phpdoc/configure.php?r1=1.6&r2=1.6.2.1&diff_format=u
Index: phpdoc/configure.php
diff -u phpdoc/configure.php:1.6 phpdoc/configure.php:1.6.2.1
--- phpdoc/configure.php:1.6 Mon Sep 17 22:26:50 2007
+++ phpdoc/configure.php Thu Oct 25 08:56:34 2007
@@ -17,10 +17,10 @@
| Authors: Dave Barr <dave@php.net> |
+----------------------------------------------------------------------+
- $Id: configure.php,v 1.6 2007/09/17 22:26:50 bjori Exp $
+ $Id: configure.php,v 1.6.2.1 2007/10/25 08:56:34 rquadling Exp $
*/
-$cvs_id = '$Id: configure.php,v 1.6 2007/09/17 22:26:50 bjori Exp $';
+$cvs_id = '$Id: configure.php,v 1.6.2.1 2007/10/25 08:56:34 rquadling Exp $';
$srcdir = "./";
echo "configure.php: $cvs_id\n";
@@ -880,7 +880,9 @@
echo "All good.\n";
$dom->save(".manual.xml");
echo "All you have to do now is run 'php build.php' in your phd checkout
folder\n";
+ exit(0); // Tell the shell that this script finished successfully.
} else {
echo "eyh man. No worries. Happ shittens. Try again after fixing the errors above\n";
+ exit(1); // Tell the shell that this script finished with an error.
}