summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index ff11a8b58..f05f50e59 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1150,6 +1150,16 @@ dyn_install() {
die "There are ${UNSAFE} unsafe files. Portage will not install them."
fi
+ if [[ -d "${D}/${D}" ]] ; then
+ declare -i INSTALLTOD=0
+ for i in $(find "${D}/${D}/"); do
+ echo "QA Notice: ${i##${D}/}installed to \${D}/\${D}"
+ ((INSTALLTOD++))
+ done
+ die "Aborting due to QA concerns: ${INSTALLTOD} files installed to ${D}/${D}"
+ unset INSTALLTOD
+ fi
+
# dumps perms to stdout. if error, no perms dumped.
function stat_perms() {
local f