Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wtyd committed Feb 8, 2024
1 parent 652e4ad commit 997a969
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/Commands/ExtractBuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@ private function extractBuild(): void

private function checkBuild(): void
{

$newBuildOfActualPhpVersion = $this->build->getBuildPath() . $this->getBinary();
exec("chmod + $newBuildOfActualPhpVersion", $output, $exitCode);
passthru("ls -lah " . $newBuildOfActualPhpVersion);
exec("chmod +x $newBuildOfActualPhpVersion", $output, $exitCode);
exec("$newBuildOfActualPhpVersion --version", $output, $exitCode);
$this->info(implode("\n", $output));
if ($exitCode !== 0) {
Expand Down
2 changes: 1 addition & 1 deletion app/Commands/Zero/BuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private function build(string $name): BuildCommand
->tarBuild($name)
->clear();
// $this->tarBuild($name);

// TODO la compilación bien pero falta mencionar el tar
$this->output->writeln(
sprintf(' Compiled successfully: <fg=green>%s</>', $this->build->getBuildPath() . DIRECTORY_SEPARATOR . $name)
);
Expand Down

0 comments on commit 997a969

Please sign in to comment.