summaryrefslogtreecommitdiff
path: root/bin/get-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-12-18 10:22:18 +0100
committerErich Eckner <git@eckner.net>2017-12-18 10:22:18 +0100
commit438a1a8cbc06740b16fb55db1030692148142586 (patch)
tree4623db890832b399c32c1305630aa15fe4fd9e9c /bin/get-assignment
parent52a6a5cbed2b5622e90473d01971eafaf12ec150 (diff)
downloadbuilder-438a1a8cbc06740b16fb55db1030692148142586.tar.xz
bin/*: satisfy shellcheck
Diffstat (limited to 'bin/get-assignment')
-rwxr-xr-xbin/get-assignment4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index 82463a8..00d32fd 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -27,8 +27,8 @@ hand_out_assignment() {
# we don't care anymore if an older version of this package was
# "locked" or "broken"
find "${work_dir}/package-states" -maxdepth 1 -regextype grep \
- -regex ".*/$(str_to_regex "$1")\(\.[^.]\+\)\{3\}\.\(locked\|broken\)" \
- -not -regex ".*/$(str_to_regex "$1.$2.$3.$4.")[^.]\+" \
+ -regex '.*/'"$(str_to_regex "$1")"'\(\.[^.]\+\)\{3\}\.\(locked\|broken\)' \
+ -not -regex '.*/'"$(str_to_regex "$1.$2.$3.$4.")"'[^.]\+' \
-delete
# move that build order to the end of the build-list