pull/1978/merge
parent
ca69917969
commit
27d958a1de
|
@ -35,7 +35,7 @@ abstract class ArchiveDownloader extends FileDownloader
|
||||||
$this->io->write(' Extracting archive');
|
$this->io->write(' Extracting archive');
|
||||||
}
|
}
|
||||||
|
|
||||||
$temporaryDir = sys_get_temp_dir().'/cmp'.substr(md5(time().mt_rand()), 0, 5);
|
$temporaryDir = $this->config->get('vendor-dir').'/composer/'.substr(md5(uniqid('', true)), 0, 8);
|
||||||
try {
|
try {
|
||||||
$this->filesystem->ensureDirectoryExists($temporaryDir);
|
$this->filesystem->ensureDirectoryExists($temporaryDir);
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue