From 3932b8ceec2a533306341fa64e4fd3d6eb20df8f Mon Sep 17 00:00:00 2001 From: Moshe Weitzman Date: Sun, 13 Mar 2022 08:38:31 -0400 Subject: [PATCH] Fix #5041. Fix path/to/drush for redispatches when both sites are local. --- src/SiteAlias/ProcessManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SiteAlias/ProcessManager.php b/src/SiteAlias/ProcessManager.php index 0b90d09f2a..4884111720 100644 --- a/src/SiteAlias/ProcessManager.php +++ b/src/SiteAlias/ProcessManager.php @@ -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; }