Skip to content

Commit 83e74bf

Browse files
committed
Fix
1 parent 2cbc090 commit 83e74bf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

compiler/bin/compile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $compileCommand = new CompileCommand(
1212
new SymfonyFilesystem(new \Symfony\Component\Filesystem\Filesystem()),
1313
new DefaultProcessFactory(),
1414
__DIR__ . '/../build',
15-
__DIR__ . '/../..'
15+
realpath(__DIR__ . '/../..')
1616
);
1717

1818
$application = new Application();

compiler/src/Console/CompileCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ private function patchFile(OutputInterface $output, string $originalFile, string
172172
{
173173
exec(sprintf(
174174
'patch -d %s %s %s',
175-
escapeshellarg(realpath(__DIR__ . '/../../..')),
175+
escapeshellarg($this->buildDir),
176176
escapeshellarg($originalFile),
177177
escapeshellarg($patchFile)
178178
), $outputLines, $exitCode);

0 commit comments

Comments
 (0)