From 8e6b99b7ee6bd8589c4f005315e4657c95f182b5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 28 Jul 2017 10:45:14 +0200 Subject: files in package-infos contain the repository now, too --- bin/show-dependencies | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/show-dependencies') diff --git a/bin/show-dependencies b/bin/show-dependencies index e729f57..abd9ac3 100755 --- a/bin/show-dependencies +++ b/bin/show-dependencies @@ -53,7 +53,7 @@ sort -u "${work_dir}/build-order" | \ sponge "${tmp_dir}/original-build-order" ls "${work_dir}/package-infos" | \ - sed 's|\(\.[^.]\+\)\{3\}$||' | \ + sed 's|\(\.[^.]\+\)\{4\}$||' | \ sort -u > \ "${tmp_dir}/known-packages" @@ -67,8 +67,8 @@ ls "${work_dir}/package-infos" | \ ls "${work_dir}/package-infos" | \ grep '\.packages$' | \ while read -r pf; do - grep -vxF "${pf%.*.*.*}" "${work_dir}/package-infos/${pf}" | \ - xargs -r printf "${pf%.*.*.*} %s\n" >> \ + grep -vxF "${pf%.*.*.*.*}" "${work_dir}/package-infos/${pf}" | \ + xargs -r printf "${pf%.*.*.*.*} %s\n" >> \ "${tmp_dir}/known-split-packages" done -- cgit v1.2.3-70-g09d2