Skip to content

Conversation

@arkq
Copy link
Contributor

@arkq arkq commented Nov 3, 2025

This PR fixes the issue when cd is followed by the pwd in a bash one-liner which should get the directory in which the executed script is located. The problem with such approach is that the cd command can print the destination directory in case when one has the CDPATH environmental variable set.

Also, it fixes an issues with word splitting in the circle-mlir/infra/tools/gen-coverage-report script in case when the path contains spaces and a small typo in the docstring for environment variables to overrides.

This PR is part of draft #16238

ONE-DCO-1.0-Signed-off-by: Arkadiusz Bokowy a.bokowy@samsung.com

This commits fixes the issue when `cd` is followed by the `pwd` in a
bash one-liner which should get the directory in which the executed
script is located. The problem with such approach is that the `cd`
command can print the destination directory in case when one has the
CDPATH environmental variable set.

ONE-DCO-1.0-Signed-off-by: Arkadiusz Bokowy <a.bokowy@samsung.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant