Skip to content

Commit

Permalink
sys-kernel/linux-firmware: synchronize live ebuild
Browse files Browse the repository at this point in the history
...while there, use "-gt" for better readability.

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Thomas Deutschmann <[email protected]>
  • Loading branch information
Whissi committed Mar 18, 2020
1 parent 95acdee commit 47f2827
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sys-kernel/linux-firmware/linux-firmware-20200316.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 47f2827

Please sign in to comment.