---
 bin/install-qa-check.d/05double-D       | 8 ++++----
 bin/install-qa-check.d/90world-writable | 4 +---
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/bin/install-qa-check.d/05double-D 
b/bin/install-qa-check.d/05double-D
index 7d958f1..4b7737c 100644
--- a/bin/install-qa-check.d/05double-D
+++ b/bin/install-qa-check.d/05double-D
@@ -3,12 +3,12 @@
 DD_check() {
        if [[ -d ${D%/}${D} ]] ; then
                eqawarn "QA Notice: files installed in \${D}/\${D}:"
-               local -i INSTALLTOD=0
+               local files=()
                while read -r -d $'\0' i ; do
-                       __eqawarnlog double-d "/${i##${D%/}${D}}"
-                       ((INSTALLTOD++))
+                       files+=( "${i#${D%/}${D}}" )
                done < <(find "${D%/}${D}" -print0)
-               die "Aborting due to QA concerns: ${INSTALLTOD} files installed 
in ${D%/}${D}"
+               eqatag -v double-D "${files[@]/#//}"
+               die "Aborting due to QA concerns: ${#files[@]} files installed 
in ${D%/}${D}"
        fi
 }
 
diff --git a/bin/install-qa-check.d/90world-writable 
b/bin/install-qa-check.d/90world-writable
index 490aaee..2b435ac 100644
--- a/bin/install-qa-check.d/90world-writable
+++ b/bin/install-qa-check.d/90world-writable
@@ -12,9 +12,7 @@ world_writable_check() {
        if [[ -n ${unsafe_files} ]] ; then
                eqawarn "QA Security Notice: world writable file(s):"
 
-               for x in $unsafe_files ; do
-                       __eqawarnlog world-writable "$x"
-               done
+               eqatag -v world-writable $unsafe_files
 
                eqawarn "This may or may not be a security problem, most of the 
time it is one."
                eqawarn "Please double check that $PF really needs a world 
writeable bit and file bugs accordingly."
-- 
2.1.3


Reply via email to