diff options
author | Sam James <sam@gentoo.org> | 2021-04-02 10:12:07 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-03 16:43:54 +0100 |
commit | 2c3fc8542c587e4b9cb1b17e274505fdf35b0c19 (patch) | |
tree | f8b27203ba0d51fcc2cf90d73bcc1ae90daa3e97 /sys-boot | |
parent | sys-boot/mbr-gpt: fix variable references (diff) | |
download | gentoo-2c3fc8542c587e4b9cb1b17e274505fdf35b0c19.tar.gz gentoo-2c3fc8542c587e4b9cb1b17e274505fdf35b0c19.tar.bz2 gentoo-2c3fc8542c587e4b9cb1b17e274505fdf35b0c19.zip |
sys-boot/syslinux: fix variable references
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-boot')
-rw-r--r-- | sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild b/sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild index 170f9004ac00..00346dcd6035 100644 --- a/sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild +++ b/sys-boot/syslinux/syslinux-6.04_pre1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,14 +7,14 @@ inherit eutils toolchain-funcs DESCRIPTION="SYSLINUX, PXELINUX, ISOLINUX, EXTLINUX and MEMDISK bootloaders" HOMEPAGE="https://www.syslinux.org/" -# Final releases in 6.xx/$PV.tar.* (literal "xx") -# Testing releases in Testing/$PV/$PV.tar.* +# Final releases in 6.xx/${PV}.tar.* (literal "xx") +# Testing releases in Testing/${PV}/${PV}.tar.* SRC_URI_DIR=${PV:0:1}.xx SRC_URI_TESTING=Testing/${PV:0:4} -[[ ${PV/_alpha} != $PV ]] && SRC_URI_DIR=$SRC_URI_TESTING -[[ ${PV/_beta} != $PV ]] && SRC_URI_DIR=$SRC_URI_TESTING -[[ ${PV/_pre} != $PV ]] && SRC_URI_DIR=$SRC_URI_TESTING -[[ ${PV/_rc} != $PV ]] && SRC_URI_DIR=$SRC_URI_TESTING +[[ ${PV/_alpha} != ${PV} ]] && SRC_URI_DIR=${SRC_URI_TESTING} +[[ ${PV/_beta} != ${PV} ]] && SRC_URI_DIR=${SRC_URI_TESTING} +[[ ${PV/_pre} != ${PV} ]] && SRC_URI_DIR=${SRC_URI_TESTING} +[[ ${PV/_rc} != ${PV} ]] && SRC_URI_DIR=${SRC_URI_TESTING} SRC_URI="https://www.kernel.org/pub/linux/utils/boot/syslinux/${SRC_URI_DIR}/${P/_/-}.tar.xz" LICENSE="GPL-2" |