la1k / flyby

A satellite tracking program
GNU General Public License v2.0
39 stars 8 forks source link

Relative paths not correctly appended to XDG_DATA_DIRS lists with entries that lack '/' at the end #100

Open bjorgan opened 4 years ago

bjorgan commented 4 years ago

'/' 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