Skip to content

Commit

Permalink
Merge pull request ezsystems#17 from glye/ezp-23710_legacy_assets_ins…
Browse files Browse the repository at this point in the history
…tall_relative_windows

Fix EZP-23710: ezpublish:legacy:assets_install --relative fails on windows
  • Loading branch information
glye committed Mar 16, 2015
2 parents 451ae51 + 88a6274 commit 7db46bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bundle/Command/LegacyWrapperInstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ protected function execute( InputInterface $input, OutputInterface $output )
{
$filesystem->mkdir( $targetDir, 0777 );
// We use a custom iterator to ignore VCS files
$currentDir = getcwd();
chdir( realpath( $targetArg ) );
$filesystem->mirror( $originDir, $targetDir, Finder::create()->in( $originDir ) );
chdir( $currentDir );
}
}

Expand Down

0 comments on commit 7db46bc

Please sign in to comment.