Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-package-updates3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 7f0df7c..17c9c2f 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -117,7 +117,8 @@ while read -r package git_revision repository; do
fi
# delete cached values of old versions of this PKGBUILD
- ls -1 "${work_dir}/package-infos" | \
+ ls -1 "${work_dir}/package-infos/${package}-"* 2> /dev/null | \
+ sed 's|^.*/||' | \
grep "^${package}"'\.[0-9a-f]\{40\}\.\(builds\|needs\)$' | \
grep -v "^${package}\.${git_revision}"'\.\(builds\|needs\)$' | \
while read file; do