1
0
Fork 0

Merge pull request #5804 from msiebeneicher/bugfix/fix_rename_usage_in_archive_manager_for_v1_2

fixed direct rename() usage for v1.2
pull/5829/head
Jordi Boggiano 2016-10-27 10:14:20 +02:00 committed by GitHub
commit d4547fba06
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class ArchiveManager
$filesystem->ensureDirectoryExists(dirname($tempTarget));
$archivePath = $usableArchiver->archive($sourcePath, $tempTarget, $format, $package->getArchiveExcludes());
rename($archivePath, $target);
$filesystem->rename($archivePath, $target);
// cleanup temporary download
if (!$package instanceof RootPackageInterface) {