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 0ef96be commit 6afde5a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/Commands/ExtractBuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ private function extractBuild(): void
$resultado = $zip->extractTo($newBuildOfActualPhpVersion, null, true);
if (true === $resultado) {
$this->info("Fichero extraído correctamente");
passthru("git status");
} else {
$this->warn("Fichero no extraído correctamente");
}
Expand All @@ -79,9 +80,9 @@ private function checkBuild(): void
{

$newBuildOfActualPhpVersion = $this->build->getBuildPath() . $this->getBinary();
passthru("ls -lah " . $newBuildOfActualPhpVersion);
passthru("ls -lah " . $this->build->getBuildPath());
exec("chmod +x $newBuildOfActualPhpVersion", $output, $exitCode);
passthru("ls -lah " . $newBuildOfActualPhpVersion);
passthru("ls -lah " . $this->build->getBuildPath());
exec("$newBuildOfActualPhpVersion --version", $output, $exitCode);
$this->info(implode("\n", $output));
if ($exitCode !== 0) {
Expand Down

0 comments on commit 6afde5a

Please sign in to comment.