summaryrefslogtreecommitdiff
path: root/bin/show-dependencies
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-28 10:45:14 +0200
committerErich Eckner <git@eckner.net>2017-07-28 10:45:14 +0200
commit8e6b99b7ee6bd8589c4f005315e4657c95f182b5 (patch)
tree0e41e7bbeeaa4419d4ff30219a80c00d81453793 /bin/show-dependencies
parent3b94ae7c0a8ba7513830158f357113618adba9c8 (diff)
downloadbuilder-8e6b99b7ee6bd8589c4f005315e4657c95f182b5.tar.xz
files in package-infos contain the repository now, too
Diffstat (limited to 'bin/show-dependencies')
-rwxr-xr-xbin/show-dependencies6
1 files changed, 3 insertions, 3 deletions
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