summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-03-18 20:49:10 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-03-18 20:53:09 +0100
commit47f2827b060d4bc90f4bbcabc37a462a953760e2 (patch)
treeebdd7ffcfa273b3f219a2b3701979407732ed3f6 /sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
parentnet-wireless/kismet: python3_{7,8} (diff)
downloadgentoo-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/linux-firmware/linux-firmware-99999999.ebuild')
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-99999999.ebuild6
1 files changed, 4 insertions, 2 deletions
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
}