index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-08-23 21:47:11 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-23 21:47:11 +0200 |
commit | 1061c920833a562e02584aa70e7c889a734139d8 (patch) | |
tree | 013b6407718f469e98ffcb2f1d0970895a4c4af2 /bin/db-update | |
parent | 7e69a472b3af0c66e85986f3d6a284a6e164b9fd (diff) |
-rwxr-xr-x | bin/db-update | 9 |
diff --git a/bin/db-update b/bin/db-update index d05f69f..74bab79 100755 --- a/bin/db-update +++ b/bin/db-update @@ -507,12 +507,9 @@ done # packages which are done -ls "${work_dir}/package-states" | \ - sed -n ' - /\.done$/{ - s|^\(.*\)\(\(\.[^.]\+\)\{3\}\)\.done$|\1 \1\2| - p - } +find "${work_dir}/package-states" -maxdepth 1 -type f -name '*.done' -printf '%f\n' | \ + sed ' + s|^\(.*\)\(\(\.[^.]\+\)\{3\}\)\.done$|\1 \1\2| ' | \ sort > \ "${tmp_dir}/done-packages" |