diff options
author | Erich Eckner <git@eckner.net> | 2017-12-29 14:03:35 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-12-29 14:03:35 +0100 |
commit | c93ede5bdeb10995a46cc0f4f70a668f7c436134 (patch) | |
tree | a3353dc1c43d16702bb8297b26b5f86534d764e1 /bin/get-package-updates | |
parent | ca8cfb3d487fa10c080649f92614c8f7e2e08705 (diff) | |
download | builder-c93ede5bdeb10995a46cc0f4f70a668f7c436134.tar.xz |
bin/get-package-updates: bugfix regex
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-x | bin/get-package-updates | 10 |
1 files changed, 5 insertions, 5 deletions
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 |