summarylogtreecommitdiffstats
path: root/update-branch.sh
diff options
context:
space:
mode:
authorDenton Liu2023-04-29 02:03:02 -0700
committerDenton Liu2023-04-29 03:10:43 -0700
commitbe86f31b4972c5e94da2b073042cc6bc3b0f0e2c (patch)
treeb06030d374575e536df00b4d744b85911051e3cf /update-branch.sh
parent8aceee81dada8fa4eb96dcd615bd1bf232955b9c (diff)
parent58e432ca858ba433dd8312316dbc2a11c2d0fad4 (diff)
downloadaur-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-xupdate-branch.sh10
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 -