Skip to content

Commit b03da8a

Browse files
committed
[fix] : get dir name
1 parent 662a3d3 commit b03da8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ make_efi() {
11101110
#fi
11111111

11121112
local _efi_shell_arch
1113-
for _efi_shell_arch in "${work_dir}/${arch}/airootfs/usr/share/edk2-shell/"*; do
1113+
for _efi_shell_arch in $(ls "${work_dir}/${arch}/airootfs/usr/share/edk2-shell/"* 2> /dev/null); do
11141114
cp "${_efi_shell_arch}/Shell_Full.efi" "${work_dir}/iso/shell_${_efi_shell_arch}.efi"
11151115
done
11161116
}

0 commit comments

Comments
 (0)