From: Sven Eckelmann Date: Fri, 6 May 2016 12:36:06 +0000 (+0200) Subject: post-receive: Use correct default installation path X-Git-Tag: v2.0.0-rc1~345 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b0b0b74d0c32122f8319ee6047c70239417f934;p=thirdparty%2Fpatchwork.git 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 --- diff --git a/tools/post-receive.hook b/tools/post-receive.hook index 78ddf9b2..a4e84059 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