Create SYMLINKD instead of SYMLINK on Windows host/Linux guest filesystems (#10592)

Co-authored-by: bilogic <bilogic@example.com>
main
bilogic 2 years ago committed by GitHub
parent 575fbfb53f
commit ae23647f07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save