svn: /web/php-rmtools/trunk/client/include/ BuildVC.php

From: Date: Wed, 27 Apr 2011 09:37:46 +0000
Subject: svn: /web/php-rmtools/trunk/client/include/ BuildVC.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-10895@lists.php.net to get a copy of this message
pajoye Wed, 27 Apr 2011 09:37:46 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=310549 Log: - delete old dir if not cleaned correctly in prev run Changed paths: U web/php-rmtools/trunk/client/include/BuildVC.php Modified: web/php-rmtools/trunk/client/include/BuildVC.php =================================================================== --- web/php-rmtools/trunk/client/include/BuildVC.php 2011-04-27 09:30:48 UTC (rev 310548) +++ web/php-rmtools/trunk/client/include/BuildVC.php 2011-04-27 09:37:46 UTC (rev 310549) @@ -84,6 +84,10 @@ { $args = $this->branch->config->getConfigureOptions($this->build_name) . ($extra ?: $extra); $cmd = 'configure ' . $args . ' --enable-object-out-dir=' . $this->obj_dir; + /* old build may have been stoped */ + if (is_dir($this->obj_dir)) { + rmdir_rf($this->obj_dir); + } mkdir($this->obj_dir, 0655, true); $ret = exec_single_log($cmd, $this->build_dir, $this->env); if (!$ret) {

« previous php.webmaster (#10895) next »