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

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) {