summaryrefslogtreecommitdiff
path: root/update-kernel.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-11-17 16:49:20 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2022-11-17 15:50:38 +0000
commit8dd30fcf9026693f64311876ddfdca58756e5415 (patch)
tree2316887bc9eeaff7916c7e2e42069c88946dd5fe /update-kernel.in
parent78d231f9ca462dd3147ecb08b49e6740dc171d5b (diff)
downloadalpine-conf-8dd30fcf9026693f64311876ddfdca58756e5415.zip
update-kernel: handle firmware files with spaces
Diffstat (limited to 'update-kernel.in')
-rw-r--r--update-kernel.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-kernel.in b/update-kernel.in
index a6fecbb..0847ece 100644
--- a/update-kernel.in
+++ b/update-kernel.in
@@ -300,7 +300,7 @@ find $ROOTFS/lib/modules -type f -name "*.ko*" | xargs modinfo -k $KVER -F firmw
if ! [ -e "$f" ]; then
continue
fi
- install -pD "$f" $MODLOOP/modules/firmware/${f#*/lib/firmware}
+ install -pD "$f" "$MODLOOP/modules/firmware/${f#*/lib/firmware}"
# copy also all potentially associated files
for _file in "${f%.*}".*; do
install -pD "$_file" "$MODLOOP/modules/firmware/${_file#*/lib/firmware/}"