Эх сурвалжийг харах

Fix variable used for symlinking absolute paths, refs #8700

Jordi Boggiano 5 жил өмнө
parent
commit
e121de35a3

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