summaryrefslogtreecommitdiff
path: root/bin/calculate-dependent-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-01 09:59:45 +0100
committerErich Eckner <git@eckner.net>2017-11-01 09:59:45 +0100
commit05a43c23b36c4b68a246bc69fa0d699a3ec469fb (patch)
tree026314699b7f4de4f7bd52f00d2a1e13ea06d5db /bin/calculate-dependent-packages
parent4e67e6d62a91cba3f2f54401bba073b601db82d5 (diff)
downloadbuilder-05a43c23b36c4b68a246bc69fa0d699a3ec469fb.tar.xz
remove references to loop files (they may change), remove associated TODO, small cleanups
Diffstat (limited to 'bin/calculate-dependent-packages')
-rwxr-xr-xbin/calculate-dependent-packages4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/calculate-dependent-packages b/bin/calculate-dependent-packages
index 6f3ec98..d4791b0 100755
--- a/bin/calculate-dependent-packages
+++ b/bin/calculate-dependent-packages
@@ -20,8 +20,8 @@ done < \
"${tmp_dir}/build-list"
mkdir "${tmp_dir}/loops"
-find "${work_dir}/build-list.loops" -maxdepth 1 | \
- grep '/loop_[0-9]\+$' | \
+find "${work_dir}/build-list.loops" -maxdepth 1 -regextype grep \
+ -regex '.*/loop_[0-9]\+' | \
while read -r loop; do
sort -u "${loop}" | \
join -j 1 - "${tmp_dir}/build-list" | \