From: hayao Date: Mon, 12 Oct 2020 13:22:07 +0000 (+0900) Subject: [fix] : SC2045 X-Git-Tag: rc3-alpha1~115^2~5 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=706ffb9f8e6c4df91d4eb55a15c7e14ef0c90c40;p=alterlinux%2Falterlinux.git [fix] : SC2045 --- diff --git a/build.sh b/build.sh index 765cf0b3..941d7143 100755 --- a/build.sh +++ b/build.sh @@ -1110,7 +1110,7 @@ make_efi() { #fi local _efi_shell_arch - for _efi_shell_arch in $(ls "${work_dir}/${arch}/airootfs/usr/share/edk2-shell/"* 2> /dev/null); do + for _efi_shell_arch in "${work_dir}"/${arch}/airootfs/usr/share/edk2-shell/*; do cp "${_efi_shell_arch}/Shell_Full.efi" "${work_dir}/iso/shell_${_efi_shell_arch}.efi" done }