Fixes
This commit is contained in:
parent
37bdffbbdd
commit
2476086f7c
|
@ -118,7 +118,7 @@ class Builder implements LoggerAwareInterface
|
|||
$this->pluginExecutor = new Plugin\Util\Executor($pluginFactory, $this->buildLogger);
|
||||
|
||||
$executorClass = 'PHPCI\Helper\UnixCommandExecutor';
|
||||
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {
|
||||
if (IS_WIN) {
|
||||
$executorClass = 'PHPCI\Helper\WindowsCommandExecutor';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue