-
-
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
Relative root paths no longer seem to work #2909
Comments
We're rewriting the bootstrap / preflight at the moment. See #2843. Let's make sure it works there. |
Looks fixed to me. |
Relative paths working here too - thanks! |
I've found a relative |
How about in 9.6.0-rc3? |
Hm, yes, broken in HEAD of master too. |
Hi @greg-1-anderson I did some digging and opened webflo/drupal-finder#40 (relative paths work in some circumstances in Drush 9. DrupalFinder needs to be able to search upwards from the path, and calling dirname() recursively on a relative path wasn't sufficient, so that PR does realpath() before dirname()) |
Seems to be working for me now in today's HEAD of the @pjcdawkins / other interested parties: could you please test and confirm? |
We'll re-open if this crops up again |
@greg-1-anderson, I'm still having this issue. Running
Probably not the best fix, but adding
|
Maybe |
I Created PR: #4019 |
* Return the realpath instead of symlinked path * #4109: Convert symlinked originalCwd to the realpath * Fix AppVeyor tests * Fix failing test EnvironmentTest::testExportConfigData() * Canonicalize originalCwd after it is converted to the realpath
When switching from Drush 8 to Drush 9, I noticed that relative
--root
paths don't seem to work for providing the core location.Here's output for a build that exists in
build/html
:With relative
--root
With no
--root
(behaves the same as with absolute path for root arg)The text was updated successfully, but these errors were encountered: