Message ID | 1297435761-5794-3-git-send-email-sascha-pgp@silbe.org |
---|---|
State | Accepted |
Commit | 9918885899c9ae49864d693947c81e42d15481d3 |
Headers | show |
Hi Sascha, > Make patchwork-update-commits work from outside the Patchwork git > repository so it can be used for other projects. Looks good, thanks. Jeremy
diff --git a/tools/patchwork-update-commits b/tools/patchwork-update-commits index ce4f301..a31cc2e 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 2 ] then
Make patchwork-update-commits work from outside the Patchwork git repository so it can be used for other projects. Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org> --- tools/patchwork-update-commits | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)