diff options
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 } |