Merge a26a141046
into 64b0f60368
This commit is contained in:
commit
46ef60cafb
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -16,4 +16,4 @@ PHPCI/Model/Base/MigrationBase.php
|
||||||
PHPCI/Store/MigrationStore.php
|
PHPCI/Store/MigrationStore.php
|
||||||
PHPCI/Store/Base/MigrationStoreBase.php
|
PHPCI/Store/Base/MigrationStoreBase.php
|
||||||
local_vars.php
|
local_vars.php
|
||||||
Tests/PHPCI/config.yml
|
Tests/PHPCI/config.yml
|
|
@ -75,7 +75,7 @@ class CopyBuild implements \PHPCI\Plugin
|
||||||
protected function wipeExistingDirectory()
|
protected function wipeExistingDirectory()
|
||||||
{
|
{
|
||||||
if ($this->wipe === true && $this->directory != '/' && is_dir($this->directory)) {
|
if ($this->wipe === true && $this->directory != '/' && is_dir($this->directory)) {
|
||||||
$cmd = 'rm -Rf "%s*"';
|
$cmd = 'rm -Rf "%s"*';
|
||||||
$success = $this->phpci->executeCommand($cmd, $this->directory);
|
$success = $this->phpci->executeCommand($cmd, $this->directory);
|
||||||
|
|
||||||
if (!$success) {
|
if (!$success) {
|
||||||
|
|
Loading…
Reference in a new issue