Closed sbuller closed 8 years ago
readlink
returns nothing for me when a path isn't a link, which causes cd
to do nothing (although that's BSD's readlink; Linux's might behave differently). I'll try to work something out, but thanks for the fix!
Yeah, I was wondering about the compatibility of the fix - kinda hard to test. Thanks for cleaning that up for me, and the quick merge!
I like to link to game start scripts from a directory in my PATH. By adding 'readlink -f' the symlink is dereferenced, allowing the start script to tolerate this.