index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-10-10 13:21:18 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-10 13:21:18 +0200 |
commit | 03e7feb9d80474424b5fd3d84b7bfe251e42a766 (patch) | |
tree | 6bb10786c68708bb49105615206498cc9ec34f38 /bin/get-package-updates | |
parent | c43affacd3c6d14264020dbe849c36dce3c9f80a (diff) |
-rwxr-xr-x | bin/get-package-updates | 8 |
diff --git a/bin/get-package-updates b/bin/get-package-updates index 237c779..dea542f 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -191,24 +191,24 @@ done | \ while read -r mode package git_revision repository; do if [ "${mode}" = 'D' ]; then # deleted PKGBUILD - git_revision=$(cat "${work_dir}/packages32.revision") + git_revision=$(cat "${work_dir}/packages32.revision.new") found_package=false for repository in ${repo_names}; do eval 'repo_path="${repo_paths__'"${repository}"'}"' if [ "${repository}" = "archlinux32" ]; then - if git -C "${repo_path}" archive "$(cat "${work_dir}/${repository}.revision")" 2> /dev/null | \ + if git -C "${repo_path}" archive "$(cat "${work_dir}/${repository}.revision.new")" 2> /dev/null | \ tar -t 2> /dev/null | \ grep -q "$(str_to_regex "${package}")/PKGBUILD$"; then found_package=true break; fi else - if git -C "${repo_path}" archive "$(cat "${work_dir}/${repository}.revision")" -- "${package}/repos" 2> /dev/null | \ + if git -C "${repo_path}" archive "$(cat "${work_dir}/${repository}.revision.new")" -- "${package}/repos" 2> /dev/null | \ tar -t --wildcards "${package}/repos/*/PKGBUILD" 2> /dev/null | \ cut -d/ -f3 | \ grep -v 'staging\|testing\|-unstable' | \ grep -vq -- '-i686$'; then - git_revision=$(cat "${work_dir}/${repository}.revision") + git_revision=$(cat "${work_dir}/${repository}.revision.new") found_package=true break; fi |