diff options
author | Denton Liu | 2022-10-24 01:59:46 -0700 |
---|---|---|
committer | Denton Liu | 2022-10-24 02:21:41 -0700 |
commit | 003ea753dfc8ec1c349964d1a72b61afd6eef3e9 (patch) | |
tree | 81aa8c8e921383392b5576a8dfbd5e7c8b9eca95 | |
parent | 7acb0d63c14ebbc79cd6dce140ec5d53ec725d5f (diff) | |
download | aur-003ea753dfc8ec1c349964d1a72b61afd6eef3e9.tar.gz |
update-branch.sh: 2022 update
Update $REMOTE_URL. Also, since `makepkg --printsrcinfo` no longer
prints the trailing empty line, reintroduce this missing line so that
the history is unchanged.
-rwxr-xr-x | update-branch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update-branch.sh b/update-branch.sh index 652469336e3e..f089966cc905 100755 --- a/update-branch.sh +++ b/update-branch.sh @@ -1,13 +1,13 @@ #!/bin/sh -REMOTE_URL=https://git.archlinux.org/svntogit/community.git +REMOTE_URL=https://github.com/archlinux/svntogit-community.git REMOTE_BRANCH=packages/ddclient 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 'makepkg --printsrcinfo > .SRCINFO || rm .SRCINFO' \ + --tree-filter '(makepkg --printsrcinfo; status=$?; echo; exit $status) >.SRCINFO || rm .SRCINFO' \ --commit-filter ' if [ -e .SRCINFO ] then |