Browse files

Merge pull request #285 from mattalexx/master

Restore rsync's default behavior of creating destination directories if they don't exist
  • Loading branch information...
2 parents 002958f + a430177 commit 903e8b2ae1a81af3c3d6a6415be34deae08e75ed @mrook mrook committed Jun 26, 2014
Showing with 0 additions and 4 deletions.
  1. +0 −4 classes/phing/tasks/ext/FileSyncTask.php
View
4 classes/phing/tasks/ext/FileSyncTask.php
@@ -192,10 +192,6 @@ public function executeCommand()
if (strpos($this->destinationDir, ':')) {
$this->setIsRemoteConnection(true);
- } else {
- if (! (is_dir($this->destinationDir) && is_readable($this->destinationDir))) {
- throw new BuildException("No such file or directory: " . $this->destinationDir);
- }
}
if (strpos($this->sourceDir, ':')) {

0 comments on commit 903e8b2

Please sign in to comment.