Skip to content

Commit d83a597

Browse files
committed
unquote the string in case a shell script passes it stupidly
1 parent 5623fed commit d83a597

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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
}

0 commit comments

Comments
 (0)