mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 01:15:37 +08:00
Update UnixBuilderTrait.php
This commit is contained in:
@@ -72,7 +72,7 @@ trait UnixBuilderTrait
|
|||||||
}
|
}
|
||||||
foreach ($this->exts as $ext) {
|
foreach ($this->exts as $ext) {
|
||||||
logger()->debug('testing ext: ' . $ext->getName());
|
logger()->debug('testing ext: ' . $ext->getName());
|
||||||
[$ret] = shell()->execWithResult(BUILD_ROOT_PATH . '/bin/php --ri ' . $ext->getDistName(), false);
|
[$ret] = shell()->execWithResult(BUILD_ROOT_PATH . '/bin/php --ri "' . $ext->getDistName() . '"', false);
|
||||||
if ($ret !== 0) {
|
if ($ret !== 0) {
|
||||||
throw new RuntimeException('extension ' . $ext->getName() . ' failed compile check');
|
throw new RuntimeException('extension ' . $ext->getName() . ' failed compile check');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user