From c93ede5bdeb10995a46cc0f4f70a668f7c436134 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 29 Dec 2017 14:03:35 +0100 Subject: bin/get-package-updates: bugfix regex --- bin/get-package-updates | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bin/get-package-updates') diff --git a/bin/get-package-updates b/bin/get-package-updates index e49d37c..8e0df04 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -382,7 +382,7 @@ sed ' sed ' s|^\S\+ |'"${work_dir}"'/package-infos/| - s|\$|.build-depends| + s|$|.build-depends| ' "${tmp_dir}/newest-revisions" | \ xargs -r grep -HF '' | \ sed ' @@ -404,10 +404,10 @@ while [ -n "${black_listed_new}" ]; do printf '%s\n' ${black_listed} | \ sort -k1,1 | \ join -j1 -o 2.2 - "${tmp_dir}/newest-revisions" | \ - sed " - s|^|${work_dir}/package-infos/| - s|\$|.builds| - " | \ + sed ' + s|^|'"${work_dir}"'/package-infos/| + s|$|.builds| + ' | \ xargs -r cat | \ sort | \ uniq -c -- cgit v1.2.3-70-g09d2