Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed May 5, 2020
1 parent 2cbc090 commit 83e74bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $compileCommand = new CompileCommand(
new SymfonyFilesystem(new \Symfony\Component\Filesystem\Filesystem()),
new DefaultProcessFactory(),
__DIR__ . '/../build',
__DIR__ . '/../..'
realpath(__DIR__ . '/../..')
);

$application = new Application();
Expand Down
2 changes: 1 addition & 1 deletion compiler/src/Console/CompileCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ private function patchFile(OutputInterface $output, string $originalFile, string
{
exec(sprintf(
'patch -d %s %s %s',
escapeshellarg(realpath(__DIR__ . '/../../..')),
escapeshellarg($this->buildDir),
escapeshellarg($originalFile),
escapeshellarg($patchFile)
), $outputLines, $exitCode);
Expand Down

0 comments on commit 83e74bf

Please sign in to comment.