Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-13 15:04:47 +0100
committerErich Eckner <git@eckner.net>2017-11-13 15:04:47 +0100
commit166b987f6922bbba32c5695132967cd74072e6cc (patch)
treed84f79dcd933387621ab9460b15e5df150d3bc0a
parent140da9b95bc9545b476ca2f3f546b7f2834e0f3a (diff)
bin/show-dependencies: fix some regexes
-rwxr-xr-xbin/show-dependencies4
1 files 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 |' > \