summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
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 '{}' \;