From 2a0ee7c76a45563ace70bc892b23ba326e3a6421 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 25 Oct 2017 14:49:48 +0200 Subject: bin/sanity-check, bin/return-assignment, bin/interpret-mail: state-file suffix "tested" new --- bin/return-assignment | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/return-assignment') 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 '{}' \; -- cgit v1.2.3-54-g00ecf