diff options
author | Alberto Bertogli <albertito@blitiri.com.ar> | 2013-03-10 01:32:15 +0100 |
---|---|---|
committer | Alberto Bertogli <albertito@blitiri.com.ar> | 2013-03-10 01:55:56 +0100 |
commit | c72278c97c15f30fb9cbcdcdd4c4fb84889a6b60 (patch) | |
tree | 5a6782d65788014688eed1755ad026f208bae44f /hooks/README | |
parent | 18e8599bfa9dfcfef219ead9b655154fb729c1d7 (diff) | |
download | git-arr-fork-c72278c97c15f30fb9cbcdcdd4c4fb84889a6b60.zip |
Allow calling the executable from any directory
When the tool is invoked like /path/to/git-arr, it currently fails because
both the serving of static files and bottle templates assume they're on the
current working directory.
This patch fixes that by computing the directories based on the executable
location.
Note this is assuming the static directory and the templates live next to the
executable, which will not always be the case, and eventually it should be
configurable; but it's ok for the time being.
Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
Diffstat (limited to 'hooks/README')
0 files changed, 0 insertions, 0 deletions