summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-03-18 20:45:56 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-03-18 20:46:05 +0100
commit1735a77829830d06694de600daf66c2e1e9e19f3 (patch)
treecffc639d8ad075629c433ae86f7f9f0fb927bd79 /sys-kernel/linux-firmware
parentsys-devel/distcc: python3_7 (diff)
downloadgentoo-1735a77829830d06694de600daf66c2e1e9e19f3.tar.gz
gentoo-1735a77829830d06694de600daf66c2e1e9e19f3.tar.bz2
gentoo-1735a77829830d06694de600daf66c2e1e9e19f3.zip
sys-kernel/linux-firmware: fix src_unpack
Allow usage of upstream tags. Bug: https://bugs.gentoo.org/713280 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')
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20200316.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-kernel/linux-firmware/linux-firmware-20200316.ebuild b/sys-kernel/linux-firmware/linux-firmware-20200316.ebuild
index e42b02d3761..3e7ea3c45bb 100644
--- a/sys-kernel/linux-firmware/linux-firmware-20200316.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-20200316.ebuild
@@ -84,7 +84,9 @@ src_unpack() {
else
default
# rename directory from git snapshot tarball
- mv ${PN}-*/ ${P} || die
+ if [[ ${#GIT_COMMIT} > 8 ]]; then
+ mv ${PN}-*/ ${P} || die
+ fi
fi
}