Fix regression handling installs with custom installers not passing a fully qualified path to downloaders, fixes #9431, fixes #9434
parent
3e9cb5eabe
commit
c362d001f1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue