diff --git a/src/Composer/Downloader/PathDownloader.php b/src/Composer/Downloader/PathDownloader.php index d7f0c06ee..1e614b6bd 100644 --- a/src/Composer/Downloader/PathDownloader.php +++ b/src/Composer/Downloader/PathDownloader.php @@ -129,7 +129,7 @@ class PathDownloader extends FileDownloader implements VcsCapableDownloaderInter if ($transportOptions['relative']) { $fileSystem->symlink($shortestPath, $path); } else { - $fileSystem->symlink($absolutePath, $path); + $fileSystem->symlink($realUrl, $path); } } } catch (IOException $e) {