Skip to content

Commit

Permalink
Fix #10 force the PHP binary executable
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Jun 2, 2018
1 parent 5a69f69 commit 7ec3cc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Console/Deployer.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ private function generateArchive(SymfonyStyle $io, ProgressBar $progress) : void
$this->fs->mkdir('.bref/output/.bref/bin');
(new Process('tar -xzf .bref/bin/php/php-' . PHP_TARGET_VERSION . '.tar.gz -C .bref/output/.bref/bin'))
->mustRun();
// Set correct permissions on the file
$this->fs->chmod('.bref/output/.bref/bin', 0755);
$progress->advance();

$progress->setMessage('Installing `handler.js`');
Expand Down

0 comments on commit 7ec3cc0

Please sign in to comment.