Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/syslinux/
Date: Sat, 03 Apr 2021 15:44:47
Message-Id: 1617464634.2c3fc8542c587e4b9cb1b17e274505fdf35b0c19.sam@gentoo
1 commit: 2c3fc8542c587e4b9cb1b17e274505fdf35b0c19
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 2 09:12:07 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 3 15:43:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c3fc854
7
8 sys-boot/syslinux: fix variable references
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild | 14 +++++++-------
13 1 file changed, 7 insertions(+), 7 deletions(-)
14
15 diff --git a/sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild b/sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild
16 index 170f9004ac0..00346dcd603 100644
17 --- a/sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild
18 +++ b/sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2020 Gentoo Authors
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=7
25 @@ -7,14 +7,14 @@ inherit eutils toolchain-funcs
26
27 DESCRIPTION="SYSLINUX, PXELINUX, ISOLINUX, EXTLINUX and MEMDISK bootloaders"
28 HOMEPAGE="https://www.syslinux.org/"
29 -# Final releases in 6.xx/$PV.tar.* (literal "xx")
30 -# Testing releases in Testing/$PV/$PV.tar.*
31 +# Final releases in 6.xx/${PV}.tar.* (literal "xx")
32 +# Testing releases in Testing/${PV}/${PV}.tar.*
33 SRC_URI_DIR=${PV:0:1}.xx
34 SRC_URI_TESTING=Testing/${PV:0:4}
35 -[[ ${PV/_alpha} != $PV ]] && SRC_URI_DIR=$SRC_URI_TESTING
36 -[[ ${PV/_beta} != $PV ]] && SRC_URI_DIR=$SRC_URI_TESTING
37 -[[ ${PV/_pre} != $PV ]] && SRC_URI_DIR=$SRC_URI_TESTING
38 -[[ ${PV/_rc} != $PV ]] && SRC_URI_DIR=$SRC_URI_TESTING
39 +[[ ${PV/_alpha} != ${PV} ]] && SRC_URI_DIR=${SRC_URI_TESTING}
40 +[[ ${PV/_beta} != ${PV} ]] && SRC_URI_DIR=${SRC_URI_TESTING}
41 +[[ ${PV/_pre} != ${PV} ]] && SRC_URI_DIR=${SRC_URI_TESTING}
42 +[[ ${PV/_rc} != ${PV} ]] && SRC_URI_DIR=${SRC_URI_TESTING}
43 SRC_URI="https://www.kernel.org/pub/linux/utils/boot/syslinux/${SRC_URI_DIR}/${P/_/-}.tar.xz"
44
45 LICENSE="GPL-2"