Skip to content
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 paths not correctly appended to XDG_DATA_DIRS lists with entries that lack '/' at the end #100

Open
bjorgan opened this issue May 21, 2020 · 0 comments
Labels

Comments

@bjorgan
Copy link
Member

bjorgan commented May 21, 2020

'/' is appended only to the last entry of XDG_DATA_DIRS if missing, not the rest of the entries.

Steps to reproduce:

XDG_DATA_DIRS=path1:path2 XDG_DATA_HOME=path3 flyby

-> Tries to look for TLEs in path1flyby/tles rather than path1/flyby/tles.

2020-05-21-111428_484x316_scrot

@bjorgan bjorgan added the bug label May 21, 2020
@bjorgan bjorgan changed the title Relative paths not correctly appended to XDG_DATA_DIRS lists with more than one entry that miss '/' at the end Relative paths not correctly appended to XDG_DATA_DIRS lists with entries that lack '/' at the end May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant