summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2016-05-06 14:36:06 +0200
committerStephen Finucane <stephen.finucane@intel.com>2016-05-09 14:00:29 +0100
commit5b0b0b74d0c32122f8319ee6047c70239417f934 (patch)
tree4e16fac40d3ba4abc9809b74579db99dcd64f7a9 /tools
parent317c88e218657ece8a96062628e89c5884088c17 (diff)
downloadpatchwork-5b0b0b74d0c32122f8319ee6047c70239417f934.tar
patchwork-5b0b0b74d0c32122f8319ee6047c70239417f934.tar.gz
post-receive: Use correct default installation path
The documentation recommends to use /opt/patchwork instead of /srv/patchwork since version 1.1. This change should be reflected in the PWDIR variable of the post-receive hook. Signed-off-by: Sven Eckelmann <sven@narfation.org> Reviewed-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/post-receive.hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/post-receive.hook b/tools/post-receive.hook
index 78ddf9b..a4e8405 100755
--- a/tools/post-receive.hook
+++ b/tools/post-receive.hook
@@ -15,7 +15,7 @@ STATE_MAP="refs/heads/master:Accepted"
#
EXCLUDE=""
-PWDIR=/srv/patchwork/patchwork
+PWDIR=/opt/patchwork/patchwork
do_exit=0
trap "do_exit=1" INT