cvs: phpdoc / configure.php

From: Date: Thu, 25 Oct 2007 08:55:37 +0000
Subject: cvs: phpdoc / configure.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-265@lists.php.net to get a copy of this message
rquadling Thu Oct 25 08:55:37 2007 UTC Modified files: /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.7&r2=1.8&diff_format=u Index: phpdoc/configure.php diff -u phpdoc/configure.php:1.7 phpdoc/configure.php:1.8 --- phpdoc/configure.php:1.7 Tue Oct 2 12:03:16 2007 +++ phpdoc/configure.php Thu Oct 25 08:55:36 2007 @@ -17,10 +17,10 @@ | Authors: Dave Barr <dave@php.net> | +----------------------------------------------------------------------+ - $Id: configure.php,v 1.7 2007/10/02 12:03:16 bjori Exp $ + $Id: configure.php,v 1.8 2007/10/25 08:55:36 rquadling Exp $ */ -$cvs_id = '$Id: configure.php,v 1.7 2007/10/02 12:03:16 bjori Exp $'; +$cvs_id = '$Id: configure.php,v 1.8 2007/10/25 08:55:36 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 'phd " .realpath("."). "'\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. }

« previous php.doc.cvs (#265) next »