Explorar o código

Fix variable used for symlinking absolute paths, refs #8700

Jordi Boggiano %!s(int64=5) %!d(string=hai) anos
pai
achega
e121de35a3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {