diff options
author | Daniel Isaksen <d@duniel.no> | 2018-01-30 23:30:16 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-01-30 23:34:16 +0000 |
commit | 8b198b0998db2476459d39307b6b2996737a4298 (patch) | |
tree | 5d7fe25002db1016866a23bbfa9fe5a8b68c33b3 /main/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch | |
parent | 5d371c045d81d2bd535a6e5589300b7b77b8cbe3 (diff) | |
download | aports-8b198b0998db2476459d39307b6b2996737a4298.tar.bz2 aports-8b198b0998db2476459d39307b6b2996737a4298.tar.xz |
main/patchwork: bump to 2.0.1
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 | 26 |
1 files changed, 13 insertions, 13 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 index d668dde0bd..858568f7be 100644 --- 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 @@ -1,29 +1,29 @@ diff --git a/tools/patchwork-update-commits b/tools/patchwork-update-commits -index 820fd1c..ca0022a 100755 +index c84a6305e3..2d34f4f9a9 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 + # + # 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 8f05b8d..3d6ec1b 100755 +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 - # -@@ -15,7 +15,7 @@ STATE_MAP="refs/heads/master:Accepted" - # - EXCLUDE="" + set -eu --PWDIR=/srv/patchwork/patchwork -+PWDIR=/usr/share/webapps/patchwork/patchwork +-PW_DIR=/opt/patchwork/patchwork ++PW_DIR=/usr/share/webapps/patchwork/patchwork - do_exit=0 - trap "do_exit=1" INT + #TODO: the state map should really live in the repo's git-config + STATE_MAP="refs/heads/master:Accepted" |