From: Thomas Deutschmann Date: Wed, 18 Mar 2020 19:49:10 +0000 (+0100) Subject: sys-kernel/linux-firmware: synchronize live ebuild X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=47f2827b060d4bc90f4bbcabc37a462a953760e2;p=gentoo.git sys-kernel/linux-firmware: synchronize live ebuild ...while there, use "-gt" for better readability. Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Thomas Deutschmann --- diff --git a/sys-kernel/linux-firmware/linux-firmware-20200316.ebuild b/sys-kernel/linux-firmware/linux-firmware-20200316.ebuild index 3e7ea3c45bb0..6aa47ba49187 100644 --- a/sys-kernel/linux-firmware/linux-firmware-20200316.ebuild +++ b/sys-kernel/linux-firmware/linux-firmware-20200316.ebuild @@ -84,7 +84,7 @@ src_unpack() { else default # rename directory from git snapshot tarball - if [[ ${#GIT_COMMIT} > 8 ]]; then + if [[ ${#GIT_COMMIT} -gt 8 ]]; then mv ${PN}-*/ ${P} || die fi fi diff --git a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild index 7bc4d9624e2d..b118008def6d 100644 --- a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild +++ b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -84,7 +84,9 @@ src_unpack() { else default # rename directory from git snapshot tarball - mv ${PN}-*/ ${P} || die + if [[ ${#GIT_COMMIT} -gt 8 ]]; then + mv ${PN}-*/ ${P} || die + fi fi }