]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
post-receive: Use correct default installation path
authorSven Eckelmann <sven@narfation.org>
Fri, 6 May 2016 12:36:06 +0000 (14:36 +0200)
committerStephen Finucane <stephen.finucane@intel.com>
Mon, 9 May 2016 13:00:29 +0000 (14:00 +0100)
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>
Reviewed-by: Stephen Finucane <stephen.finucane@intel.com>
tools/post-receive.hook

index 78ddf9b2f107bf8e989203d743219351a9269f9e..a4e840593fd4ea6c481058d7a02f56c49e072d71 100755 (executable)
@@ -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