It's not actually, it calculates the absolute path to the script. `$PWD` will be the dir that the script is called from.