Bug #267175 - Instead of "poor code kills airplanes", say "install aborted v2.2_rc32
authorZac Medico <zmedico@gentoo.org>
Fri, 1 May 2009 21:59:43 +0000 (21:59 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 1 May 2009 21:59:43 +0000 (21:59 -0000)
due to poor programming practices shown above" in order to help the user
link the die message to the related "poor programming practices" messages.
Thanks to Jeremy Olexa <darkside@g.o> for the suggestion.

svn path=/main/trunk/; revision=13584

bin/misc-functions.sh

index 5e7d29b79a9da9fc494cc4b639edd05c572175e0..b3b01cbc1ed211e682c8bd965f71e8469833dbcf 100755 (executable)
@@ -418,14 +418,16 @@ install_qa_check() {
                fi
                if [[ ${abort} == "yes" ]] ; then
                        if [[ ${gentoo_bug} == "yes" ]] ; then
-                               die "poor code kills airplanes"
+                               die "install aborted due to" \
+                                       "poor programming practices shown above"
                        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"
+                               hasq stricter ${FEATURES} && die "install aborted due to" \
+                                       "poor programming practices shown above"
                        fi
                fi
        fi