diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-03-08 21:40:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-03-08 21:40:35 +0000 |
commit | f40f510f2b2d2e78fd7053492ed3d51a0b0ec46c (patch) | |
tree | 56df703129133bf4bcd1989c25af60128c7c82bf | |
parent | 77bfa7607a963f19bd3fa27f3469e5f4bf5ef93b (diff) | |
download | portage-f40f510f2b2d2e78fd7053492ed3d51a0b0ec46c.tar.gz portage-f40f510f2b2d2e78fd7053492ed3d51a0b0ec46c.tar.bz2 portage-f40f510f2b2d2e78fd7053492ed3d51a0b0ec46c.zip |
for pointers cast to 32bit ints, we always want to abort on 64bit systems, not just when FEATURES=stricter
svn path=/main/trunk/; revision=12793
-rwxr-xr-x | bin/misc-functions.sh | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index b2796bd50..c29852309 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -415,14 +415,18 @@ install_qa_check() { fi fi - if [[ $abort = yes ]] && [[ $gentoo_bug != yes ]] ; then - echo "Please do not file a Gentoo bug and instead" \ - "report the above QA issues directly to the upstream" \ - "developers of this software." | fmt -w 70 | \ - while read line ; do eqawarn "${line}" ; done - eqawarn "Homepage: ${HOMEPAGE}" + if [[ ${abort} == "yes" ]] ; then + if [[ ${gentoo_bug} == "yes" ]] ; then + die "poor code kills airplanes" + else + echo "Please do not file a Gentoo bug and instead" \ + "report the above QA issues directly to the upstream" \ + "developers of this software." | fmt -w 70 | \ + while read line ; do eqawarn "${line}" ; done + eqawarn "Homepage: ${HOMEPAGE}" + hasq stricter ${FEATURES} && die "poor code kills airplanes" + fi fi - [[ ${abort} == "yes" ]] && hasq stricter ${FEATURES} && die "poor code kills airplanes" fi # Compiled python objects do not belong in /usr/share (FHS violation) |