diff options
author | Mike Pagano <mpagano@gentoo.org> | 2024-12-21 15:28:46 -0500 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2024-12-21 15:28:46 -0500 |
commit | 1ba9adc4fca57e70f7969effc7efe6b3cb10d44e (patch) | |
tree | 00187fccae4715fcb881c1f43b02f1a9650f8100 /sys-kernel | |
parent | sys-kernel/linux-firmware: savedconfig fixes inline with non-git version (diff) | |
download | gentoo-1ba9adc4fca57e70f7969effc7efe6b3cb10d44e.tar.gz gentoo-1ba9adc4fca57e70f7969effc7efe6b3cb10d44e.tar.bz2 gentoo-1ba9adc4fca57e70f7969effc7efe6b3cb10d44e.zip |
sys-kernel/linux-firmware: Fix whitespaces
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/linux-firmware/linux-firmware-99999999.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild index a563075cac21..2e4486362db9 100644 --- a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild +++ b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild @@ -73,7 +73,7 @@ IDEPEND=" QA_PREBUILT="*" PATCHES=( - "${FILESDIR}"/${PN}-copy-firmware-r7.patch + "${FILESDIR}"/${PN}-copy-firmware-r7.patch ) pkg_pretend() { @@ -237,13 +237,13 @@ src_install() { local files_to_keep= if use savedconfig; then - if [[ -s "${S}/${PN}.conf" ]]; then - files_to_keep="${T}/files_to_keep.lst" - grep -v '^#' "${S}/${PN}.conf" 2>/dev/null > "${files_to_keep}" || die - [[ -s "${files_to_keep}" ]] || die "grep failed, empty config file?" - FW_OPTIONS+=( "--firmware-list" "${files_to_keep}" ) - fi - fi + if [[ -s "${S}/${PN}.conf" ]]; then + files_to_keep="${T}/files_to_keep.lst" + grep -v '^#' "${S}/${PN}.conf" 2>/dev/null > "${files_to_keep}" || die + [[ -s "${files_to_keep}" ]] || die "grep failed, empty config file?" + FW_OPTIONS+=( "--firmware-list" "${files_to_keep}" ) + fi + fi if use compress-xz; then FW_OPTIONS+=( "--xz" ) |