1
0
Fork 0

Terminate quoted strings

pull/7316/head
Jordi Boggiano 2018-05-04 11:02:02 +02:00
parent 3b9d6769bf
commit 78ae0a97f7
1 changed files with 3 additions and 3 deletions

View File

@ -1334,10 +1334,10 @@ EOF;
file_put_contents($this->workingDir.'/forks/bar/src/exclude/FooExclClass.php', '<?php class FooExclClass {};');
$target = $this->workingDir.'/forks/bar/';
$link = $this->workingDir.'/composersrc/foo/bar/';
$link = $this->workingDir.'/composersrc/foo/bar';
$command = Platform::isWindows()
? 'mklink /j "' . str_replace('/', '\\', $link) . '" "' . str_replace('/', '\\', $target)
: 'ln -s "' . $target . '" "' . $link;
? 'mklink /j "' . str_replace('/', '\\', $link) . '" "' . str_replace('/', '\\', $target) . '"'
: 'ln -s "' . $target . '" "' . $link . '"';
exec($command);
$this->generator->dump($this->config, $this->repository, $package, $this->im, 'composer', true, '_1');