diff mbox

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

Message ID 1462538166-11493-2-git-send-email-sven@narfation.org
State Accepted
Headers show

Commit Message

Sven Eckelmann May 6, 2016, 12:36 p.m. UTC
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(-)

Comments

Stephen Finucane May 9, 2016, 12:59 p.m. UTC | #1
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 mbox

Patch

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