kaiinkinen/phantomjs-rpms — comment on commit 28beae9a4df1407dfcc68244c5d62b9c6197b787
File: fetch-phantomjs-branch line 12
By jbraeuer:

I think
basedir=$(dirname "$0")
is enough. Changing the directory in the subshell has no effect anyway.