Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 903e8b2ae1a81af3c3d6a6415be34deae08e75ed 2 parents 002958f + a430177
Michiel Rook mrook authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 classes/phing/tasks/ext/FileSyncTask.php
4 classes/phing/tasks/ext/FileSyncTask.php
View
@@ -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, ':')) {
Please sign in to comment.
Something went wrong with that request. Please try again.