-
-
Notifications
You must be signed in to change notification settings - Fork 570
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: correctly find runfiles root for symlinks #2665
base: main
Are you sure you want to change the base?
fix: correctly find runfiles root for symlinks #2665
Conversation
Thanks for the contribution. Would it be possible to add a test of some sort to check for regressions in the future? If there is no good place, feel free to create //tests/runfiles package and put it there. |
Let me know what you think of 2e03584! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general this LGTM, let me re-kick the CI.
$maybe_runfiles_root
doesn't seem to be a real variable. Based on the presence of thewhile
loop, it seems that this code wants to try resolving the symlink one level at a time (readlink
, notrealpath
) until it can find runfiles?