Merge a26a141046
into 64b0f60368
This commit is contained in:
commit
46ef60cafb
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue