diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-03-18 20:49:10 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-03-18 20:53:09 +0100 |
commit | 47f2827b060d4bc90f4bbcabc37a462a953760e2 (patch) | |
tree | ebdd7ffcfa273b3f219a2b3701979407732ed3f6 /sys-kernel | |
parent | net-wireless/kismet: python3_{7,8} (diff) | |
download | gentoo-47f2827b060d4bc90f4bbcabc37a462a953760e2.tar.gz gentoo-47f2827b060d4bc90f4bbcabc37a462a953760e2.tar.bz2 gentoo-47f2827b060d4bc90f4bbcabc37a462a953760e2.zip |
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 <whissi@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/linux-firmware/linux-firmware-20200316.ebuild | 2 | ||||
-rw-r--r-- | sys-kernel/linux-firmware/linux-firmware-99999999.ebuild | 6 |
2 files changed, 5 insertions, 3 deletions
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 } |