Create SYMLINKD instead of SYMLINK on Windows host/Linux guest filesystems (#10592)
Co-authored-by: bilogic <bilogic@example.com>pull/10604/head
parent
575fbfb53f
commit
ae23647f07
|
@ -121,9 +121,9 @@ class PathDownloader extends FileDownloader implements VcsCapableDownloaderInter
|
|||
$this->io->writeError(sprintf('Symlinking from %s', $url), false);
|
||||
}
|
||||
if ($transportOptions['relative']) {
|
||||
$symfonyFilesystem->symlink($shortestPath, $path);
|
||||
$symfonyFilesystem->symlink($shortestPath.'/', $path);
|
||||
} else {
|
||||
$symfonyFilesystem->symlink($realUrl, $path);
|
||||
$symfonyFilesystem->symlink($realUrl.'/', $path);
|
||||
}
|
||||
}
|
||||
} catch (IOException $e) {
|
||||
|
|
Loading…
Reference in New Issue