zotero/zotero-standalone-build — pull request #31 by emilienkofman (2014-04-01 16:09:32+00:00)
Title: http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-dir...

...ectory-its-stored-in/246128#246128

The solution suggested in the comments of the best answer solved a bug (which crashed the script) when calling run_zotero.sh from another directory.