offensive-security/exploit-database — pull request #7 by cbrunnkvist (2014-07-04 17:03:46+00:00)
Title: Look for .csv in source dir even if exe is symlinked

...Because it doesn't work if the script happens to be symlinked into say /usr/local/bin or whatever. Unfortunately, to be remain somewhat portable while allowing symlink chains, can't do this in a one-liner, meh. ;)