for pointers cast to 32bit ints, we always want to abort on 64bit systems, not just...
authorMike Frysinger <vapier@gentoo.org>
Sun, 8 Mar 2009 21:40:35 +0000 (21:40 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 8 Mar 2009 21:40:35 +0000 (21:40 -0000)
svn path=/main/trunk/; revision=12793

bin/misc-functions.sh

index b2796bd50c5fafdd2b104f84be51b02d6e8e6374..c2985230975a9b8e084413bd593b42f58ef453f9 100755 (executable)
@@ -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)