From 8b198b0998db2476459d39307b6b2996737a4298 Mon Sep 17 00:00:00 2001 From: Daniel Isaksen Date: Tue, 30 Jan 2018 23:30:16 +0000 Subject: main/patchwork: bump to 2.0.1 --- ...needed-bashism-from-tools-and-change-path.patch | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'main/patchwork/0002-remove-uneeded-bashism-from-tools-and-change-path.patch') 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 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 # +@@ -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" -- cgit v1.2.3