Skip to content

Commit ba51bc0

Browse files
committed
Update CompileBinaryCommand.php
1 parent 0bbda63 commit ba51bc0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/Commands/CompileBinaryCommand.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ public function handle(): void
2020

2121
set_time_limit($timeout);
2222

23+
info('Current working directory: ' . getcwd());
24+
2325
$version = File::json(base_path('composer.json'))['version'];
2426

2527
info("Compiling binary for version {$version}");
2628

27-
$destination = base_path(
28-
sprintf('bin/php-parser-v%s-%s', $version, $this->option('arch'))
29-
);
29+
$destination = sprintf('%s/bin/php-parser-v%s-%s', getcwd(), $version, $this->option('arch'));
3030

3131
info("Destination: {$destination}");
3232

0 commit comments

Comments
 (0)