Merge remote-tracking branch 'cherbst/trim-trailing-slash-from-symlink-names' into 1.0
commit
b981c1e09d
|
@ -84,6 +84,7 @@ class PathDownloader extends FileDownloader
|
|||
$absolutePath = getcwd() . DIRECTORY_SEPARATOR . $path;
|
||||
}
|
||||
$shortestPath = $this->filesystem->findShortestPath($absolutePath, $realUrl);
|
||||
$path = rtrim($path,"/");
|
||||
$fileSystem->symlink($shortestPath, $path);
|
||||
$this->io->writeError(sprintf(' Symlinked from %s', $url));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue