Skip to content

Commit

Permalink
Adding an accidentally removed line back and setting chmod there as w…
Browse files Browse the repository at this point in the history
…ell.
  • Loading branch information
Florian Krämer committed Mar 12, 2015
1 parent d198e20 commit 883146e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Task/FileSystem/CopyDir.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ protected function copyDir($src, $dst)
if (false === $dir) {
throw new TaskException($this, "Cannot open source directory '" . $src . "'");
}
@mkdir($dst, $this->chmod);
if (!is_dir($dst)) {
mkdir($dst, $this->chmod, true);
}
Expand Down

0 comments on commit 883146e

Please sign in to comment.