Skip to content

Commit 67ef8f6

Browse files
authored
fix redownloading go-xcaddy every time, version 2.8.3 (#1034)
2 parents 38140d1 + d83a597 commit 67ef8f6

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/SPC/ConsoleApplication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*/
3535
final class ConsoleApplication extends Application
3636
{
37-
public const string VERSION = '2.8.2';
37+
public const string VERSION = '2.8.3';
3838

3939
public function __construct()
4040
{

src/SPC/builder/unix/UnixBuilderBase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ protected function processFrankenphpApp(): void
365365
$frankenphpAppPath = $this->getOption('with-frankenphp-app');
366366

367367
if ($frankenphpAppPath) {
368+
$frankenphpAppPath = trim($frankenphpAppPath, "\"'");
368369
if (!is_dir($frankenphpAppPath)) {
369370
throw new WrongUsageException("The path provided to --with-frankenphp-app is not a valid directory: {$frankenphpAppPath}");
370371
}

src/SPC/store/pkg/GoXcaddy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public function getSupportName(): array
3030
public function fetch(string $name, bool $force = false, ?array $config = null): void
3131
{
3232
$pkgroot = PKG_ROOT_PATH;
33-
$go_exec = "{$pkgroot}/{$name}/bin/go";
34-
$xcaddy_exec = "{$pkgroot}/{$name}/bin/xcaddy";
33+
$go_exec = "{$pkgroot}/go-xcaddy/bin/go";
34+
$xcaddy_exec = "{$pkgroot}/go-xcaddy/bin/xcaddy";
3535
if ($force) {
3636
FileSystem::removeDir("{$pkgroot}/{$name}");
3737
}

0 commit comments

Comments
 (0)