aboutsummaryrefslogtreecommitdiffstats
path: root/community/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2018-01-30 23:40:17 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2018-01-30 23:40:17 +0000
commitd0d2c8164b2266ac86642397ba19baed2e6a5f55 (patch)
tree772b71c461dd0dba2ae02a960212bfaa11dc6d9f /community/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch
parent8b198b0998db2476459d39307b6b2996737a4298 (diff)
downloadaports-d0d2c8164b2266ac86642397ba19baed2e6a5f55.tar.bz2
aports-d0d2c8164b2266ac86642397ba19baed2e6a5f55.tar.xz
main/patchwork: move to community
Diffstat (limited to 'community/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch')
-rw-r--r--community/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch b/community/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch
new file mode 100644
index 0000000000..858568f7be
--- /dev/null
+++ b/community/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 c84a6305e3..2d34f4f9a9 100755
+--- a/tools/patchwork-update-commits
++++ b/tools/patchwork-update-commits
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ #
+ # Patchwork - automated patch tracking system
+ # Copyright (C) 2010 Jeremy Kerr <jk@ozlabs.org>
+diff --git a/tools/post-receive.hook b/tools/post-receive.hook
+index 8098ce825a..b8a1fd2f2a 100755
+--- a/tools/post-receive.hook
++++ b/tools/post-receive.hook
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ # Patchwork - automated patch tracking system
+ # Copyright (C) 2010 martin f. krafft <madduck@madduck.net>
+ #
+@@ -21,7 +21,7 @@
+ # Git post-receive hook to update Patchwork patches after Git pushes
+ set -eu
+
+-PW_DIR=/opt/patchwork/patchwork
++PW_DIR=/usr/share/webapps/patchwork/patchwork
+
+ #TODO: the state map should really live in the repo's git-config
+ STATE_MAP="refs/heads/master:Accepted"