summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/patchwork-update-commits3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/patchwork-update-commits b/tools/patchwork-update-commits
index 245a66a..2730216 100755
--- a/tools/patchwork-update-commits
+++ b/tools/patchwork-update-commits
@@ -1,6 +1,7 @@
#!/bin/bash
-pwpath=apps/patchwork
+toolsdir="$(dirname "$0")"
+pwpath="${toolsdir}"/../apps/patchwork
if [ "$#" -lt 1 ]
then