]> git.ozlabs.org Git - patchwork/blobdiff - tools/patchwork-update-commits
patchwork-update-commits: autodetect patchwork install directory
[patchwork] / tools / patchwork-update-commits
index 245a66a06844df0dc763879e1bc876de8a1179f4..27302167c41dbd770df5002905f49e70683f62dd 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/bash
 
-pwpath=apps/patchwork
+toolsdir="$(dirname "$0")"
+pwpath="${toolsdir}"/../apps/patchwork
 
 if [ "$#" -lt 1 ]
 then