diff options
author | Mike Pagano <mpagano@gentoo.org> | 2024-01-20 15:03:42 -0500 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2024-01-20 15:03:42 -0500 |
commit | 6894b856ddbda3edd86e3477432ef3048152a7b7 (patch) | |
tree | b92a7f8b64399ea5a4fbba9cf3e949bd0258e81f /sys-kernel/linux-firmware | |
parent | sys-kernel/linux-firmware: Modifications to USE=savedconfig (diff) | |
download | gentoo-6894b856ddbda3edd86e3477432ef3048152a7b7.tar.gz gentoo-6894b856ddbda3edd86e3477432ef3048152a7b7.tar.bz2 gentoo-6894b856ddbda3edd86e3477432ef3048152a7b7.zip |
sys-kernel/linux-firmware: Fix tabs
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'sys-kernel/linux-firmware')
-rw-r--r-- | sys-kernel/linux-firmware/linux-firmware-20240115-r1.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys-kernel/linux-firmware/linux-firmware-20240115-r1.ebuild b/sys-kernel/linux-firmware/linux-firmware-20240115-r1.ebuild index 25d02e4a4f38..21e07a6bd6ee 100644 --- a/sys-kernel/linux-firmware/linux-firmware-20240115-r1.ebuild +++ b/sys-kernel/linux-firmware/linux-firmware-20240115-r1.ebuild @@ -285,14 +285,14 @@ src_install() { 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?" - LINUX_FIRMWARE_SAVED_CONFIG_FILES=$(<${files_to_keep}) - LINUX_FIRMWARE_SAVED_CONFIG_FILES="${LINUX_FIRMWARE_SAVED_CONFIG_FILES//$'\n'/ }" - FW_OPTIONS+=( "--firmware-list" "${LINUX_FIRMWARE_SAVED_CONFIG_FILES[@]}" ) - fi - fi + 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?" + LINUX_FIRMWARE_SAVED_CONFIG_FILES=$(<${files_to_keep}) + LINUX_FIRMWARE_SAVED_CONFIG_FILES="${LINUX_FIRMWARE_SAVED_CONFIG_FILES//$'\n'/ }" + FW_OPTIONS+=( "--firmware-list" "${LINUX_FIRMWARE_SAVED_CONFIG_FILES[@]}" ) + fi + fi ! use deduplicate && FW_OPTIONS+=( "--ignore-duplicates" ) FW_OPTIONS+=( "${ED}/lib/firmware" ) |