summaryrefslogtreecommitdiff
path: root/bin/db-update
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/db-update
parent52a6a5cbed2b5622e90473d01971eafaf12ec150 (diff)
downloadbuilder-438a1a8cbc06740b16fb55db1030692148142586.tar.xz
bin/*: satisfy shellcheck
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/db-update b/bin/db-update
index 44be174..84cb2e0 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -313,7 +313,7 @@ move_packages() {
else
# remove old state files of $package with ending $rm_ending
find "${work_dir}/package-states" -maxdepth 1 -regextype grep \
- -regex ".*/$(str_to_regex "${package%.*.*.*}")\(\.[^.]\+\)\{3\}\.${rm_ending}" \
+ -regex '.*/'"$(str_to_regex "${package%.*.*.*}")"'\(\.[^.]\+\)\{3\}\.'"${rm_ending}" \
-execdir ${dummynator} rm {} \;
${dummynator} mv \
"${work_dir}/package-states/${package}.${from_ending}" \