Skip to content

Commit 7a70077

Browse files
bug symfony#25121 [FrameworkBundle] Fix AssetsInstallCommand (nicolas-grekas)
This PR was merged into the 3.4 branch. Discussion ---------- [FrameworkBundle] Fix AssetsInstallCommand | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#25106 | License | MIT | Doc PR | - Fixes a deprecation notice on 3.4, and a failure on 4.0. Commits ------- a84efa7 [FrameworkBundle] Fix AssetsInstallCommand
2 parents 6fc5967 + a84efa7 commit 7a70077

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/AssetsInstallCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ private function absoluteSymlinkWithFallback($originDir, $targetDir)
262262
private function symlink($originDir, $targetDir, $relative = false)
263263
{
264264
if ($relative) {
265+
$this->filesystem->mkdir(dirname($targetDir));
265266
$originDir = $this->filesystem->makePathRelative($originDir, realpath(dirname($targetDir)));
266267
}
267268
$this->filesystem->symlink($originDir, $targetDir);

0 commit comments

Comments
 (0)