Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-25 14:49:48 +0200
committerErich Eckner <git@eckner.net>2017-10-25 14:49:48 +0200
commit2a0ee7c76a45563ace70bc892b23ba326e3a6421 (patch)
treea24b98b424d3c6d649ec73f7f82cb4830236100a /bin/return-assignment
parent25fb200ccb01a8564ad6f3a62fad02e3abe3c45e (diff)
bin/sanity-check, bin/return-assignment, bin/interpret-mail: state-file suffix "tested" new
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 888ebbb..c99bc22 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -245,9 +245,10 @@ for package in ${packages}; do
done
# remove old state files (these should be only "done" markers, but
-# actually we don't care what it is) - as long as it's not "testing"
+# actually we don't care what it is) - as long as it's not "testing" or "tested"
find "${work_dir}/package-states" -maxdepth 1 -regextype grep \
-not -name '*.testing' \
+ -not -name '*.tested' \
-regex ".*/$(str_to_regex "$1")\(\.[^.]\+\)\{4\}" \
-not -regex ".*/$(str_to_regex "$1.$2.$3.$4")\.[^.]\+" \
-exec rm '{}' \;