Neat, does it sound relevant to include?

2014-10-10 20:29 GMT+02:00 Álvaro Castro-Castilla <alvaro.castro.castilla@gmail.com>:

On Fri, Oct 10, 2014 at 8:11 PM, Mikael <mikael.rcv@gmail.com> wrote:
Could the build script be updated to do a CD to itself, somehow?

If not, then perhaps best to start with "echo This script must be invoked with its parent directory as current directory".

I mean, that kind of error could take Alot of time to debug.




I generally use
$(dirname $0)
or some variation, to get the directory of the script in Bash