Skip to content

Commit e9419b3

Browse files
committed
[fix] : Fixed empty over_isofs
1 parent d8d1829 commit e9419b3

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
@@ -1013,7 +1013,7 @@ make_overisofs() {
10131013
_over_isofs_list=("${channel_dir}/over_isofs.any""${channel_dir}/over_isofs.${arch}")
10141014
for_module '_over_isofs_list+=("${module_dir}/{}/over_isofs.any" "${module_dir}/{}/over_isofs.${arch}")'
10151015
for _isofs in "${_over_isofs_list[@]}"; do
1016-
[[ -d "${_isofs}" ]] && cp -af "${_isofs}"/* "${isofs_dir}"
1016+
[[ -d "${_isofs}" ]] && [[ -n "$(find "${_isofs}" -mindepth 1 -maxdepth 2)" ]] && cp -af "${_isofs}"/* "${isofs_dir}"
10171017
done
10181018

10191019
return 0

0 commit comments

Comments
 (0)