diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-03-18 20:45:56 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-03-18 20:46:05 +0100 |
commit | 1735a77829830d06694de600daf66c2e1e9e19f3 (patch) | |
tree | cffc639d8ad075629c433ae86f7f9f0fb927bd79 /sys-kernel/linux-firmware/linux-firmware-20200316.ebuild | |
parent | sys-devel/distcc: python3_7 (diff) | |
download | gentoo-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/linux-firmware-20200316.ebuild')
-rw-r--r-- | sys-kernel/linux-firmware/linux-firmware-20200316.ebuild | 4 |
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 e42b02d3761d..3e7ea3c45bb0 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 } |