Fixes
This commit is contained in:
parent
1f64450831
commit
a6cbd7cad8
|
@ -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