aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-15 15:13:31 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-15 15:13:31 +0000
commit162c800c5ce02fa9b1ca81804c65b919598a4e7e (patch)
treeeaaafab0e759d2403f851fd1a297d30e6c037841
parentc2013d8bc6cdd02d62db4f25618e76a5c5eaa746 (diff)
downloadpaludis-162c800c5ce02fa9b1ca81804c65b919598a4e7e.tar.gz
paludis-162c800c5ce02fa9b1ca81804c65b919598a4e7e.tar.xz
Don't show items twice in bad digest lists, even if they fail two different checksum sets
-rw-r--r--ebuild/builtin_fetch.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/ebuild/builtin_fetch.bash b/ebuild/builtin_fetch.bash
index cbaa7ab..c4cc58e 100644
--- a/ebuild/builtin_fetch.bash
+++ b/ebuild/builtin_fetch.bash
@@ -81,7 +81,7 @@ builtin_fetch()
eend 0
else
eend 1
- badfetch="${badfetch} ${line[2]}"
+ hasq "${line[2]}" ${badfetch} || badfetch="${badfetch} ${line[2]}"
fi
fi
;;
@@ -95,7 +95,7 @@ builtin_fetch()
eend 0
else
eend 1
- badfetch="${badfetch} ${line[2]}"
+ hasq "${line[2]}" ${badfetch} || badfetch="${badfetch} ${line[2]}"
fi
else
einfo "Can't check rmd160 for ${line[2]}"