]> git.tdb.fi Git - libs/core.git/commit
Change get_bin_dir logic to assume exe in cwd if not otherwise found
authorMikko Rasa <tdb@tdb.fi>
Mon, 6 Jan 2014 19:55:30 +0000 (21:55 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 6 Jan 2014 19:55:30 +0000 (21:55 +0200)
commit0b5efb3fb96c0cdf4fe2de60952124d66cb8d229
tree6d6133516d155a2b0f95c06e9511ce65d0095cd3
parent2a6afe61db5603d508468adbd538ad4e96acc3fc
Change get_bin_dir logic to assume exe in cwd if not otherwise found

Windows has an implicit . component in $PATH, which can cause programs
started from command line to not find their executable in $PATH.  This
fixes the issue, and should not cause undue trouble on other systems.
source/fs/dir.cpp