Skip to content

Commit 46e7e2a

Browse files
committed
Update CompileBinaryCommand.php
1 parent e1378c9 commit 46e7e2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: app/Commands/CompileBinaryCommand.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ public function handle(): void
2626

2727
info("Compiling binary for version {$version}");
2828

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

3133
info("Destination: {$destination}");
3234

0 commit comments

Comments
 (0)