fix typo in find (blend)

This commit is contained in:
parazyd 2017-04-23 21:54:16 +02:00
parent 16f4840dd1
commit 3c85c7e926
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ image_name="${os}_${release}_${version}_${arch}"
case "$4" in
uefi)
notice "UEFI build enabled"
grubversion="grub-efi-${arch}"
image_name="${os}_${release}_${version}_${arch}_uefi"
mkefi="yes"

View File

@ -152,7 +152,7 @@ EOF
mkdir -p efi/boot
## efi partition mods
find /usr/lib/grub/x86_64-efi -type -f -name "part_*\.mod" \
find /usr/lib/grub/x86_64-efi -type f -name "part_*\.mod" \
-exec sh -c 'for f do echo insmod $(basename -- "$f" .mod); done' sh {} + \
>> boot/grub/x86_64-efi/grub.cfg