cvs: php-gcov-web(SOC06) /cron cron.php
| From: | Nuno Lopes | Date: | Wed, 11 Oct 2006 21:12:44 +0000 |
| Subject: | cvs: php-gcov-web(SOC06) /cron cron.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-33035@lists.php.net to get a copy of this message | ||
nlopess Wed Oct 11 21:12:44 2006 UTC
Modified files: (Branch: SOC06)
/php-gcov-web/cron cron.php
Log:
only remove files if the build successed
http://cvs.php.net/viewvc.cgi/php-gcov-web/cron/cron.php?r1=1.1.2.12&r2=1.1.2.13&diff_format=u
Index: php-gcov-web/cron/cron.php
diff -u php-gcov-web/cron/cron.php:1.1.2.12 php-gcov-web/cron/cron.php:1.1.2.13
--- php-gcov-web/cron/cron.php:1.1.2.12 Fri Oct 6 21:06:39 2006
+++ php-gcov-web/cron/cron.php Wed Oct 11 21:12:44 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cron.php,v 1.1.2.12 2006/10/06 21:06:39 nlopess Exp $ */
+/* $Id: cron.php,v 1.1.2.13 2006/10/11 21:12:44 nlopess Exp $ */
if ($argc != 7)
@@ -59,7 +59,9 @@
$xmlarray = array();
// avoid filling the disk
-system("rm -f $outdir/*.inc");
+if($makestatus == 'pass') {
+ system("rm -f $outdir/*.inc");
+}
require $workdir.'/config.php';
require $workdir.'/template.php';