Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-25 10:12:46 +0200
committerErich Eckner <git@eckner.net>2017-08-25 10:12:46 +0200
commit088d636c69619e567429348942c1818790854c90 (patch)
treefe5d94e70fdee4a30cc2fc758c126a5a14588372 /bin
parent720adc14f36d2e5a5b934e3e490067577efe250b (diff)
bin/db-update: bugfix
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/db-update b/bin/db-update
index 1efc776..de0f3ac 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -454,13 +454,13 @@ for ending in 'done' 'testing'; do
continue
fi
if [ -n "$(
- find "${work_dir}/package-states" -name ".${ending}" -printf '%f\n' | \
+ find "${work_dir}/package-states" -name "*.${ending}" -printf '%f\n' | \
sed 's|\(\.[^.]\+\)\{4\}$||' | \
sort | \
uniq -d
)" ]; then
>&2 echo 'Removing duplicates not yet implemented:'
- find "${work_dir}/package-states" -name ".${ending}" -printf '%f\n' | \
+ find "${work_dir}/package-states" -name "*.${ending}" -printf '%f\n' | \
sed 's|\(\.[^.]\+\)\{4\}$||' | \
sort | \
uniq -d