Merge branch 'master' into fixes-for-windows
This commit is contained in:
commit
2e1c6e93ce
3 changed files with 7 additions and 17 deletions
|
|
@ -242,7 +242,7 @@ class Builder implements LoggerAwareInterface
|
|||
*/
|
||||
public function executeCommand()
|
||||
{
|
||||
return $this->commandExecutor->buildAndExecuteCommand(func_get_args());
|
||||
return $this->commandExecutor->executeCommand(func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -50,22 +50,12 @@ class CommandExecutor
|
|||
$this->rootDir = $rootDir;
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes shell commands. Accepts multiple arguments the first
|
||||
* is the template and everything else is inserted in. c.f. sprintf
|
||||
* @return bool Indicates success
|
||||
*/
|
||||
public function executeCommand()
|
||||
{
|
||||
return $this->buildAndExecuteCommand(func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes shell commands.
|
||||
* @param array $args
|
||||
* @return bool Indicates success
|
||||
*/
|
||||
public function buildAndExecuteCommand($args = array())
|
||||
public function executeCommand($args = array())
|
||||
{
|
||||
$this->lastOutput = array();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue