index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/get-package-updates | 11 |
diff --git a/bin/get-package-updates b/bin/get-package-updates index d28fd44..77819e6 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -147,7 +147,7 @@ for repo in ${repo_names}; do tar -t | \ sed 's|^|A\t|' else - git -C "${repo_path}" diff --no-renames --name-status "${old_repo_revision}" HEAD + git -C "${repo_path}" diff --no-renames --name-status "${old_repo_revision}" "${new_repo_revision}" fi ) | \ # only track changes in PKGBUILDs @@ -157,9 +157,9 @@ for repo in ${repo_names}; do # to the one of an original source repository sed 's|^\(.\t\)\([^/]\+\)/\([^/]\+\)/\(.\+\)$|\2 \1\3/repos/\2-x86_64/\4|' | \ while read -r pkg_repo rest; do - eval printf '%s %s\n' \ - "$(printf '$new_repo_revisions__%s' "$(find_git_repository_to_package_repository "${pkg_repo}")")" \ - "${rest}" + eval "printf '%s %s\n'" \ + "$(printf '"$new_repo_revisions__%s"' "$(find_git_repository_to_package_repository "${pkg_repo}")")" \ + "'${rest}'" done else sed "s|^|${new_repo_revision} |" @@ -169,7 +169,8 @@ for repo in ${repo_names}; do grep -v -- '-i686/PKGBUILD$' | \ sed 's|^\(\S\+\) \(.\)\t\([^/]\+\)/repos/\([^/]\+\)-[^/-]\+/PKGBUILD$|\2 \3 \1 \4|' | \ # ignore staging and testing - grep -v '\(staging\|testing\)$' + grep -v '\(staging\|testing\)$' | \ + cat done | \ sort -u | \ while read -r mode package git_revision repository; do |