This commit is contained in:
strietzel 2016-09-13 20:00:54 +00:00 committed by GitHub
commit 46ef60cafb
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View file

@ -16,4 +16,4 @@ PHPCI/Model/Base/MigrationBase.php
PHPCI/Store/MigrationStore.php
PHPCI/Store/Base/MigrationStoreBase.php
local_vars.php
Tests/PHPCI/config.yml
Tests/PHPCI/config.yml

View file

@ -75,7 +75,7 @@ class CopyBuild implements \PHPCI\Plugin
protected function wipeExistingDirectory()
{
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);
if (!$success) {