diff options
author | Sebastian Pipping <sping@gentoo.org> | 2011-01-20 20:21:05 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2011-01-20 20:21:05 +0000 |
commit | ea02cdc1871a7d47db2b65d222b0bac4a1c799c3 (patch) | |
tree | d3b04dd911dd814d64ead64b7356041a4db4e3e7 /sys-kernel/genkernel | |
parent | Version bump to 3.1.3. (diff) | |
download | gentoo-2-ea02cdc1871a7d47db2b65d222b0bac4a1c799c3.tar.gz gentoo-2-ea02cdc1871a7d47db2b65d222b0bac4a1c799c3.tar.bz2 gentoo-2-ea02cdc1871a7d47db2b65d222b0bac4a1c799c3.zip |
sys-kernel/genkernel: Fix broken Bash logic (still bug #352250 in a way)
(Portage version: 2.1.9.34/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel/genkernel')
-rw-r--r-- | sys-kernel/genkernel/ChangeLog | 12 | ||||
-rw-r--r-- | sys-kernel/genkernel/genkernel-3.4.11.1.ebuild | 6 | ||||
-rw-r--r-- | sys-kernel/genkernel/genkernel-9999.ebuild | 6 | ||||
-rw-r--r-- | sys-kernel/genkernel/genkernel-99999.ebuild | 6 |
4 files changed, 23 insertions, 7 deletions
diff --git a/sys-kernel/genkernel/ChangeLog b/sys-kernel/genkernel/ChangeLog index 5323aa1efd19..c25d2ef24187 100644 --- a/sys-kernel/genkernel/ChangeLog +++ b/sys-kernel/genkernel/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for sys-kernel/genkernel # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/ChangeLog,v 1.235 2011/01/20 18:03:21 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/ChangeLog,v 1.236 2011/01/20 20:21:05 sping Exp $ + + 20 Jan 2011; Sebastian Pipping <sping@gentoo.org> genkernel-3.4.11.1.ebuild, + genkernel-9999.ebuild, genkernel-99999.ebuild: + Fix broken Bash logic (still bug #352250 in a way) + + A: false && true || echo die + B: { false && true ; } || echo die + C: false && { true || echo die ; } + + Despite basic testing, I wrongly assumed A=C. In contrast, A=B is true. 20 Jan 2011; Sebastian Pipping <sping@gentoo.org> genkernel-3.4.11.1.ebuild, genkernel-9999.ebuild, genkernel-99999.ebuild: diff --git a/sys-kernel/genkernel/genkernel-3.4.11.1.ebuild b/sys-kernel/genkernel/genkernel-3.4.11.1.ebuild index c00fe704297c..56865f32a133 100644 --- a/sys-kernel/genkernel/genkernel-3.4.11.1.ebuild +++ b/sys-kernel/genkernel/genkernel-3.4.11.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.11.1.ebuild,v 1.3 2011/01/20 18:03:21 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.11.1.ebuild,v 1.4 2011/01/20 20:21:05 sping Exp $ # genkernel-9999 -> latest Git master # genkernel-99999 -> latest Git experimental @@ -78,7 +78,9 @@ src_unpack() { } src_compile() { - [[ ${PV} == 9999* ]] && emake || die + if [[ ${PV} == 9999* ]]; then + emake || die + fi } src_install() { diff --git a/sys-kernel/genkernel/genkernel-9999.ebuild b/sys-kernel/genkernel/genkernel-9999.ebuild index 27a8067bdaeb..4b1a0f9a8170 100644 --- a/sys-kernel/genkernel/genkernel-9999.ebuild +++ b/sys-kernel/genkernel/genkernel-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-9999.ebuild,v 1.22 2011/01/20 18:03:21 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-9999.ebuild,v 1.23 2011/01/20 20:21:05 sping Exp $ # genkernel-9999 -> latest Git master # genkernel-99999 -> latest Git experimental @@ -78,7 +78,9 @@ src_unpack() { } src_compile() { - [[ ${PV} == 9999* ]] && emake || die + if [[ ${PV} == 9999* ]]; then + emake || die + fi } src_install() { diff --git a/sys-kernel/genkernel/genkernel-99999.ebuild b/sys-kernel/genkernel/genkernel-99999.ebuild index 7c5a8b868a9f..698df2751287 100644 --- a/sys-kernel/genkernel/genkernel-99999.ebuild +++ b/sys-kernel/genkernel/genkernel-99999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-99999.ebuild,v 1.7 2011/01/20 18:03:21 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-99999.ebuild,v 1.8 2011/01/20 20:21:05 sping Exp $ # genkernel-9999 -> latest Git master # genkernel-99999 -> latest Git experimental @@ -80,7 +80,9 @@ src_unpack() { } src_compile() { - [[ ${PV} == 9999* ]] && emake || die + if [[ ${PV} == 9999* ]]; then + emake || die + fi } src_install() { |