Fixing the copy_build plugin, issue #36

This commit is contained in:
Dan Cryer 2013-05-17 22:13:07 +01:00
commit 705c432272

View file

@ -39,7 +39,7 @@ class CopyBuild implements \PHPCI\Plugin
return false;
}
$cmd = 'mkdir -p "%s" && cp -Rf "%s" "%s/"';
$cmd = 'mkdir -p "%s" && cp -Rf "%s"* "%s/"';
$success = $this->phpci->executeCommand($cmd, $this->directory, $build, $this->directory);
if ($this->ignore) {