diff options
author | Ned Ludd <solar@gentoo.org> | 2006-02-01 20:56:21 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2006-02-01 20:56:21 +0000 |
commit | 410577400f21adfb1daad5bfbc73ea21dddb725e (patch) | |
tree | 1768c5e3cc8b55435acfd3decbe8d57f23417bee | |
parent | 53b10a62f903e1b8396db9425a994737fe60ddf0 (diff) | |
download | portage-410577400f21adfb1daad5bfbc73ea21dddb725e.tar.gz portage-410577400f21adfb1daad5bfbc73ea21dddb725e.tar.bz2 portage-410577400f21adfb1daad5bfbc73ea21dddb725e.zip |
- portage allows installing files into ${D}/${D}. Simon Stelling bug #120941
svn path=/main/trunk/; revision=2620
-rwxr-xr-x | bin/ebuild.sh | 10 |
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 |