[PATCH 2/2] post-receive: Use correct default installation path

Sven Eckelmann sven at narfation.org
Fri May 6 22:36:06 AEST 2016


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 at narfation.org>
---
 tools/post-receive.hook | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.8.1



More information about the Patchwork mailing list