Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13584 - main/trunk/bin
Date: Fri, 01 May 2009 21:59:45
Message-Id: E1M00lj-0000uG-OJ@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-05-01 21:59:43 +0000 (Fri, 01 May 2009)
3 New Revision: 13584
4
5 Modified:
6 main/trunk/bin/misc-functions.sh
7 Log:
8 Bug #267175 - Instead of "poor code kills airplanes", say "install aborted
9 due to poor programming practices shown above" in order to help the user
10 link the die message to the related "poor programming practices" messages.
11 Thanks to Jeremy Olexa <darkside@g.o> for the suggestion.
12
13
14 Modified: main/trunk/bin/misc-functions.sh
15 ===================================================================
16 --- main/trunk/bin/misc-functions.sh 2009-05-01 21:43:50 UTC (rev 13583)
17 +++ main/trunk/bin/misc-functions.sh 2009-05-01 21:59:43 UTC (rev 13584)
18 @@ -418,14 +418,16 @@
19 fi
20 if [[ ${abort} == "yes" ]] ; then
21 if [[ ${gentoo_bug} == "yes" ]] ; then
22 - die "poor code kills airplanes"
23 + die "install aborted due to" \
24 + "poor programming practices shown above"
25 else
26 echo "Please do not file a Gentoo bug and instead" \
27 "report the above QA issues directly to the upstream" \
28 "developers of this software." | fmt -w 70 | \
29 while read line ; do eqawarn "${line}" ; done
30 eqawarn "Homepage: ${HOMEPAGE}"
31 - hasq stricter ${FEATURES} && die "poor code kills airplanes"
32 + hasq stricter ${FEATURES} && die "install aborted due to" \
33 + "poor programming practices shown above"
34 fi
35 fi
36 fi