From 166b987f6922bbba32c5695132967cd74072e6cc Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 13 Nov 2017 15:04:47 +0100 Subject: bin/show-dependencies: fix some regexes --- bin/show-dependencies | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/show-dependencies b/bin/show-dependencies index be16dbc..a5139c0 100755 --- a/bin/show-dependencies +++ b/bin/show-dependencies @@ -32,7 +32,7 @@ if [ $# -eq 0 ]; then broken=$( { find "${work_dir}/package-infos" -maxdepth 1 -name '*.build-depends' | \ - sed 's|^.*/\(.*\)\(\.[^.]\+\)\{4\}|\1 \0|' | \ + sed 's|^.*/\(.*\)\(\.[^.]\+\)\{4\}$|\1 \0|' | \ sort -k1,1 | \ join -1 1 -2 1 -o 1.2 - "${tmp_dir}/broken" | \ xargs -r cat @@ -197,7 +197,7 @@ for target_package in "$@"; do rm "${tmp_dir}/relevant-stuff" find "${work_dir}/package-states" -name '*.done' -printf '%f\n' | \ - sed 's|\(\.[^.]\+\)\{4\}||' | \ + sed 's|\(\.[^.]\+\)\{4\}$||' | \ sort -u | \ tee "${tmp_dir}/done-packages" | \ sed 's|^|0 staging-package |' > \ -- cgit v1.2.3-70-g09d2