diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-03-25 09:28:40 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-03-25 09:28:40 +0000 |
commit | f25af72a756719e0130674371c17ec97cf4fad1e (patch) | |
tree | 0a7e1598e282d19f06c7ee57f3291808b836391c /main/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch | |
parent | a924aa20210e7f26602f9ecb3822fb78a101e251 (diff) | |
download | aports-f25af72a756719e0130674371c17ec97cf4fad1e.tar.bz2 aports-f25af72a756719e0130674371c17ec97cf4fad1e.tar.xz |
main/patchwork: upgrade to 1.1.0
Diffstat (limited to 'main/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch')
-rw-r--r-- | main/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/main/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch b/main/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch new file mode 100644 index 0000000000..d668dde0bd --- /dev/null +++ b/main/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch @@ -0,0 +1,29 @@ +diff --git a/tools/patchwork-update-commits b/tools/patchwork-update-commits +index 820fd1c..ca0022a 100755 +--- a/tools/patchwork-update-commits ++++ b/tools/patchwork-update-commits +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + + toolsdir="$(dirname "$0")" + pwpath="${toolsdir}"/../patchwork +diff --git a/tools/post-receive.hook b/tools/post-receive.hook +index 8f05b8d..3d6ec1b 100755 +--- a/tools/post-receive.hook ++++ b/tools/post-receive.hook +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + # + # Git post-receive hook to update Patchwork patches after Git pushes + # +@@ -15,7 +15,7 @@ STATE_MAP="refs/heads/master:Accepted" + # + EXCLUDE="" + +-PWDIR=/srv/patchwork/patchwork ++PWDIR=/usr/share/webapps/patchwork/patchwork + + do_exit=0 + trap "do_exit=1" INT |