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:
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 64d16d0..0b5f63d 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -278,8 +278,8 @@ done
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")\.[^.]\+" \
+ -regex '.*/'"$(str_to_regex "$1")"'\(\.[^.]\+\)\{4\}' \
+ -not -regex '.*/'"$(str_to_regex "$1.$2.$3.$4")"'\.[^.]\+' \
-exec rm '{}' \;
# remove all loops which are broken by this package