-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix infinite loop of dispatching when drupal root in symlinked. #3342
Conversation
Fix infinite loop of dispatching when drupal root lives in a symlinked directory.
@greg-1-anderson @weitzman could you please review this? |
I have been removing realpath() links, not adding them. Please say more about your setup, composer usage, etc. As a general principe, I'm ok with Drush not supporting every possible setup. |
@weitzman my set up is simple:
|
I set up a symlink as described and Drush bootstraps fine when I'm in ~/www. Do you happen to have any Drush config that sets options.root to
|
@weitzman Thanks. I tried a fresh install with drush 9.1.0 and I cannot reproduce the issue. I also tried 9.0.0 again and everything worked just fine ( I even tried a global drush install). so the reason must be something with configuration. I am closing this PR until I can figure out the exact configs that resulted in the dipatch loop. thanks again. |
Fix infinite loop of dispatching when drupal root lives in a symlinked directory.
Description:
[preflight] Redispatch to site-local Drush: /home/vagrant/sites/d8/vendor/drush/drush/drush.
Fixes : #2755