Skip to content

Commit

Permalink
Fix EZP-24748: targetDir not adjusted for chdir
Browse files Browse the repository at this point in the history
  • Loading branch information
wizhippo committed Sep 1, 2015
1 parent 5aff919 commit 6f03b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/Command/LegacyWrapperInstallCommand.php
Expand Up @@ -78,7 +78,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
// We use a custom iterator to ignore VCS files
$currentDir = getcwd();
chdir(realpath($targetArg));
$filesystem->mirror($originDir, $targetDir, Finder::create()->in($originDir));
$filesystem->mirror($originDir, $folder, Finder::create()->in($originDir));
chdir($currentDir);
}
}
Expand Down

0 comments on commit 6f03b3d

Please sign in to comment.