Skip to content

Commit

Permalink
Use the drushBin in drush::evaluate() callback.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiasco committed Sep 18, 2018
1 parent 8e44176 commit b385db4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Driver/DrushDriver.php
Expand Up @@ -302,9 +302,10 @@ public function evaluate(\Closure $callback, Array $args = []) {

$pipe = implode(';' . PHP_EOL, $execution);

$execution[] = strtr('drush @alias @options scr $f', [
$execution[] = strtr('@bin @alias @options scr $f', [
'@options' => implode(' ', $this->getOptions()),
'@alias' => $this->getAlias(),
'@bin' => $this->drushBin,
]);
$execution[] = 'rm $f';

Expand Down

0 comments on commit b385db4

Please sign in to comment.