diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-03-09 07:12:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-03-09 07:12:47 +0000 |
commit | 630726b4ea3eab83f73022f016a6a2f37f590a2e (patch) | |
tree | 395c7b3e74f211b0ad5775bde32ccc3e95d64324 /sys-boot/grub/grub-9999-r1.ebuild | |
parent | Version bump for readline-6.3 support #503600 by Guillaume Castagnino. (diff) | |
download | gentoo-2-630726b4ea3eab83f73022f016a6a2f37f590a2e.tar.gz gentoo-2-630726b4ea3eab83f73022f016a6a2f37f590a2e.tar.bz2 gentoo-2-630726b4ea3eab83f73022f016a6a2f37f590a2e.zip |
Use single quotes around ~ to get consistent behavior in <=bash-4.2 and >=bash-4.3 versions #503860 by Lars Wendler.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-boot/grub/grub-9999-r1.ebuild')
-rw-r--r-- | sys-boot/grub/grub-9999-r1.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-boot/grub/grub-9999-r1.ebuild b/sys-boot/grub/grub-9999-r1.ebuild index 11213c0606f5..8c14c6fb5edc 100644 --- a/sys-boot/grub/grub-9999-r1.ebuild +++ b/sys-boot/grub/grub-9999-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-9999-r1.ebuild,v 1.12 2014/02/13 02:29:59 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-9999-r1.ebuild,v 1.13 2014/03/09 07:12:47 vapier Exp $ EAPI=5 @@ -18,7 +18,8 @@ inherit autotools-utils bash-completion-r1 eutils flag-o-matic mount-boot multib if [[ ${PV} != 9999 ]]; then if [[ ${PV} == *_alpha* || ${PV} == *_beta* || ${PV} == *_rc* ]]; then - MY_P="${P/_/~}" + # The quote style is to work with <=bash-4.2 and >=bash-4.3 #503860 + MY_P=${P/_/'~'} SRC_URI="mirror://gnu-alpha/${PN}/${MY_P}.tar.xz" S=${WORKDIR}/${MY_P} else |