]> git.ozlabs.org Git - patchwork/blobdiff - tools/patchwork-update-commits
login: Focus the username field on load
[patchwork] / tools / patchwork-update-commits
index 245a66a06844df0dc763879e1bc876de8a1179f4..820fd1cabf9b1dfdb2ff4f9b0b945c5db3803885 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/bash
 
-pwpath=apps/patchwork
+toolsdir="$(dirname "$0")"
+pwpath="${toolsdir}"/../patchwork
 
 if [ "$#" -lt 1 ]
 then
@@ -12,5 +13,5 @@ git rev-list --reverse "$@" |
 while read commit
 do
        hash=$(git show "$commit" | python $pwpath/parser.py -#)
-       $pwpath/bin/pwclient -s Accepted -c "$commit" -h "$hash"
+       $pwpath/bin/pwclient update -s Accepted -c "$commit" -h "$hash"
 done