From 5b0b0b74d0c32122f8319ee6047c70239417f934 Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Fri, 6 May 2016 14:36:06 +0200 Subject: 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 Reviewed-by: Stephen Finucane --- tools/post-receive.hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.2.3