commit: 5c54f2b18112b779d5dcba30837b34aac74739e9
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 26 15:14:32 2014 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Oct 27 19:21:28 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=5c54f2b1
install-qa-check.d/05double-D: Write to log and improve consistency.
Present the list of offending files newline-delimitered for consistency
with other checks.
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
Acked-by: Alexander Berntsen <bernalex <AT> gentoo.org>
---
bin/install-qa-check.d/05double-D | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/install-qa-check.d/05double-D
b/bin/install-qa-check.d/05double-D
index 1634afd..7d958f1 100644
--- a/bin/install-qa-check.d/05double-D
+++ b/bin/install-qa-check.d/05double-D
@@ -2,9 +2,10 @@
DD_check() {
if [[ -d ${D%/}${D} ]] ; then
+ eqawarn "QA Notice: files installed in \${D}/\${D}:"
local -i INSTALLTOD=0
while read -r -d $'\0' i ; do
- eqawarn "QA Notice: /${i##${D%/}${D}} installed in
\${D}/\${D}"
+ __eqawarnlog double-d "/${i##${D%/}${D}}"
((INSTALLTOD++))
done < <(find "${D%/}${D}" -print0)
die "Aborting due to QA concerns: ${INSTALLTOD} files installed
in ${D%/}${D}"