Skip to content

Commit

Permalink
Fix #5041. Fix path/to/drush for redispatches when both sites are loc…
Browse files Browse the repository at this point in the history
…al. (#5093)
  • Loading branch information
weitzman committed Mar 13, 2022
1 parent f7bcc48 commit 3f45eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SiteAlias/ProcessManager.php
Expand Up @@ -68,7 +68,7 @@ public function drushScript(SiteAliasInterface $siteAlias)
// If the target is a local Drupal site that has a vendor/bin/drush,
// then use that.
if ($siteAlias->hasRoot()) {
$localDrushScript = Path::join($siteAlias->root(), 'vendor/bin/drush');
$localDrushScript = Path::join($siteAlias->root(), '../vendor/bin/drush');
if (file_exists($localDrushScript)) {
return $localDrushScript;
}
Expand Down

0 comments on commit 3f45eb0

Please sign in to comment.