From cb5f0aa9734b1fe683abd3195a5682c6cc41e7e4 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Fri, 24 Apr 2015 12:07:57 +0200 Subject: main/patchwork: remove bashism and change path for tools --- ...needed-bashism-from-tools-and-change-path.patch | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 main/patchwork/0001-remove-uneeded-bashism-from-tools-and-change-path.patch (limited to 'main/patchwork/0001-remove-uneeded-bashism-from-tools-and-change-path.patch') diff --git a/main/patchwork/0001-remove-uneeded-bashism-from-tools-and-change-path.patch b/main/patchwork/0001-remove-uneeded-bashism-from-tools-and-change-path.patch new file mode 100644 index 0000000000..231e420ee2 --- /dev/null +++ b/main/patchwork/0001-remove-uneeded-bashism-from-tools-and-change-path.patch @@ -0,0 +1,42 @@ +From b688b62e30525c797fff7453e1ca3ba2251e3756 Mon Sep 17 00:00:00 2001 +From: Carlo Landmeter +Date: Fri, 24 Apr 2015 12:03:26 +0200 +Subject: [PATCH] remove uneeded bashism from tools and change path + +--- + tools/patchwork-update-commits | 2 +- + tools/post-receive.hook | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/tools/patchwork-update-commits b/tools/patchwork-update-commits +index b2a658a..39670eb 100755 +--- a/tools/patchwork-update-commits ++++ b/tools/patchwork-update-commits +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + + toolsdir="$(dirname "$0")" + pwpath="${toolsdir}"/../apps/patchwork +diff --git a/tools/post-receive.hook b/tools/post-receive.hook +index a38522e..7b567a4 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/apps/patchwork ++PWDIR=/usr/share/webapps/patchwork/apps/patchwork + + do_exit=0 + trap "do_exit=1" INT +-- +2.3.5 + -- cgit v1.2.3