Message ID | 1462538166-11493-2-git-send-email-sven@narfation.org |
---|---|
State | Accepted |
Headers | show |
On 06 May 14:36, Sven Eckelmann wrote: > 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> Nice catch. Reviewed-by: Stephen Finucane <stephen.finucane@intel.com> ...and merged.
diff --git a/tools/post-receive.hook b/tools/post-receive.hook index 8f05b8d..b9a1272 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
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> --- tools/post-receive.hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)