diff options
author | Denton Liu | 2023-04-29 02:03:02 -0700 |
---|---|---|
committer | Denton Liu | 2023-04-29 03:10:43 -0700 |
commit | be86f31b4972c5e94da2b073042cc6bc3b0f0e2c (patch) | |
tree | b06030d374575e536df00b4d744b85911051e3cf /update-branch.sh | |
parent | 8aceee81dada8fa4eb96dcd615bd1bf232955b9c (diff) | |
parent | 58e432ca858ba433dd8312316dbc2a11c2d0fad4 (diff) | |
download | aur-be86f31b4972c5e94da2b073042cc6bc3b0f0e2c.tar.gz |
Update ddclient-git
Pull PKBUILD from the latest upstream. Make the build pass by removing
README.ssl references. Uncomment check() since it's passing currently.
Diffstat (limited to 'update-branch.sh')
-rwxr-xr-x | update-branch.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/update-branch.sh b/update-branch.sh index aedb88d4837e..f089966cc905 100755 --- a/update-branch.sh +++ b/update-branch.sh @@ -7,12 +7,18 @@ LOCAL_BRANCH=upstream git fetch "$REMOTE_URL" "$REMOTE_BRANCH" git checkout -B "$LOCAL_BRANCH" FETCH_HEAD FILTER_BRANCH_SQUELCH_WARNING=1 git filter-branch -f --subdirectory-filter trunk \ - --tree-filter 'git rm -rf keys; { makepkg --printsrcinfo && echo; } >.SRCINFO || rm .SRCINFO' \ + --tree-filter '(makepkg --printsrcinfo; status=$?; echo; exit $status) >.SRCINFO || rm .SRCINFO' \ --commit-filter ' if [ -e .SRCINFO ] then git commit-tree "$@" else - skip_commit "$@" + shift + while [ -n "$1" ] + do + shift + map "$1" + shift + done fi' git checkout - |