summaryrefslogtreecommitdiffstats
path: root/main/patchwork/0001-remove-uneeded-bashism-from-tools-and-change-path.patch
blob: 231e420ee210abbd1e8fa93efefa1a1e9c468919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From b688b62e30525c797fff7453e1ca3ba2251e3756 Mon Sep 17 00:00:00 2001
From: Carlo Landmeter <clandmeter@gmail.com>
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