gerhard/deliver — comment on commit d64c34068a7d0ce985f89258e4088b093563e260
File:  line 0
By gerhard:

Hi Mathieu,

that `$0` points to the local script path. If you followed the README and checked out deliver into `~/.deliver`, then `$0` in this case would be `~/.deliver/bin/deliver`, regardless of your current working directory.

There is a separate [`DELIVER_ROOT` variable](https://github.com/gerhard/deliver/blob/d875138b33553266801a89c036fc6177158222b8/libexec/config#L10) which must resolve to the root path of the app which you're delivering. In that context, a local `.deliver` file is important because otherwise the utility couldn't load your app's settings. I am thinking to do away with this requirements, [see my notes](https://github.com/gerhard/deliver/blob/e9c08eeed02f4d83a446ff756f64cd0b30584b30/examples/gh-pages).