Browse Source

Fix variable used for symlinking absolute paths, refs #8700

Jordi Boggiano 4 years ago
parent
commit
e121de35a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Downloader/PathDownloader.php

+ 1 - 1
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) {