summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-01 09:15:42 +0100
committerErich Eckner <git@eckner.net>2017-11-01 09:15:42 +0100
commit305a85e6aefe2cfe2fd283c96f761f6c67083ba0 (patch)
treea16cab00d0f9cdb3e9c9754b45b39ccb962c4c6c /bin/return-assignment
parent4faad3f74c7930494fb4251173fad69274a8a96f (diff)
downloadbuilder-305a85e6aefe2cfe2fd283c96f761f6c67083ba0.tar.xz
remove residues of break_loop concerning
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment6
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 1a27b9f..f01e295 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -266,12 +266,6 @@ find "${work_dir}/build-list.loops" -maxdepth 1 \
-exec grep -qxF "$1" '{}' \; \
-exec rm '{}' '{}.locked' \;
-if ! find "${work_dir}/build-list.loops" -maxdepth 1 -printf '%f\n' | \
- grep -q '^loop_[0-9]\+$'; then
- # no loops left
- sed -i '/^break_loops$/d' "${work_dir}/build-list"
-fi
-
# remove package from build list
sed -i "/^$(str_to_regex "$1 $2 $3 $4")\$/d" "${work_dir}/build-list"