fixed direct rename() usage for v1.2
parent
f23cdf59e3
commit
800a4bf391
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue