I'd suggest `pwd -P` to resolve symlinks too. (if you use DIR to call/source neighbouring scripts).