summaryrefslogtreecommitdiffstats
path: root/bin/misc-functions.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-11 06:54:59 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-11 06:54:59 +0000
commita88ac424affd5ecddd5fe3e7251b17e806e45607 (patch)
tree4686c6a9030ec61feb57c09be1d477fcfb5f848d /bin/misc-functions.sh
parentb7524a8f93ef5fff5187c6a3761575c29088c330 (diff)
downloadportage-a88ac424affd5ecddd5fe3e7251b17e806e45607.tar.gz
portage-a88ac424affd5ecddd5fe3e7251b17e806e45607.tar.bz2
portage-a88ac424affd5ecddd5fe3e7251b17e806e45607.zip
for pointers cast to 32bit ints, we always want to abort on 64bit systems, not just when FEATURES=stricter
(trunk r12793) svn path=/main/branches/2.1.6/; revision=13027
Diffstat (limited to 'bin/misc-functions.sh')
-rwxr-xr-xbin/misc-functions.sh18
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)