1
0
Fork 0

fixed direct rename() usage for v1.2

pull/5804/head
msiebeneicher 2016-10-21 13:57:02 +02:00
parent f23cdf59e3
commit 800a4bf391
1 changed files with 1 additions and 1 deletions

View File

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