diff options
author | Erich Eckner <git@eckner.net> | 2017-12-18 10:22:18 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-12-18 10:22:18 +0100 |
commit | 438a1a8cbc06740b16fb55db1030692148142586 (patch) | |
tree | 4623db890832b399c32c1305630aa15fe4fd9e9c /bin/return-assignment | |
parent | 52a6a5cbed2b5622e90473d01971eafaf12ec150 (diff) | |
download | builder-438a1a8cbc06740b16fb55db1030692148142586.tar.xz |
bin/*: satisfy shellcheck
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-x | bin/return-assignment | 4 |
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 |