소스 검색

Fix variable used for symlinking absolute paths, refs #8700

Jordi Boggiano 5 년 전
부모
커밋
e121de35a3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {