1
0
Fork 0

Fix regression handling installs with custom installers not passing a fully qualified path to downloaders, fixes #9431, fixes #9434

pull/9442/head
Jordi Boggiano 2020-11-07 11:17:22 +01:00
parent 3e9cb5eabe
commit c362d001f1
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ abstract class ArchiveDownloader extends FileDownloader
// avoid cleaning up $path if installing in "." for eg create-project as we can not
// delete the directory we are currently in on windows
if (!is_dir($path) || realpath($path) !== getcwd()) {
$this->addCleanupPath($package, realpath($path));
$this->addCleanupPath($package, $path);
}
$this->filesystem->ensureDirectoryExists($temporaryDir);