diff options
author | Erich Eckner <git@eckner.net> | 2017-08-25 10:12:46 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-25 10:12:46 +0200 |
commit | 088d636c69619e567429348942c1818790854c90 (patch) | |
tree | fe5d94e70fdee4a30cc2fc758c126a5a14588372 /bin/db-update | |
parent | 720adc14f36d2e5a5b934e3e490067577efe250b (diff) | |
download | builder-088d636c69619e567429348942c1818790854c90.tar.xz |
bin/db-update: bugfix
Diffstat (limited to 'bin/db-update')
-rwxr-xr-x | bin/db-update | 4 |
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 |