Skip to content

Commit 8eac1ec

Browse files
committed
[fix] : Fixed find error
1 parent 4b6f4f1 commit 8eac1ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ make_efiboot() {
941941
mkdir -p "${build_dir}/efiboot/loader/entries"
942942
sed "s|%ARCH%|${arch}|g;" "${script_path}/efiboot/${_use_config_name}/loader.conf" > "${build_dir}/efiboot/loader/loader.conf"
943943

944-
find "${isofs_dir}/loader/entries/" -name "uefi-shell*" -maxdepth 1 -mindepth 1 -type f -printf "%p\0" | xargs -0 -I{} cp {} "${build_dir}/efiboot/loader/entries/"
944+
find "${isofs_dir}/loader/entries/" -maxdepth 1 -mindepth 1 -name "uefi-shell*" -type f -printf "%p\0" | xargs -0 -I{} cp {} "${build_dir}/efiboot/loader/entries/"
945945

946946
local _efi_config _efi_config_list=($(ls "${script_path}/efiboot/${_use_config_name}/archiso-cd"*".conf"))
947947

0 commit comments

Comments
 (0)