Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-12-29 14:03:35 +0100
committerErich Eckner <git@eckner.net>2017-12-29 14:03:35 +0100
commitc93ede5bdeb10995a46cc0f4f70a668f7c436134 (patch)
treea3353dc1c43d16702bb8297b26b5f86534d764e1 /bin/get-package-updates
parentca8cfb3d487fa10c080649f92614c8f7e2e08705 (diff)
bin/get-package-updates: bugfix regex
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates10
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