We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8d1829 commit e9419b3Copy full SHA for e9419b3
1 file changed
build.sh
@@ -1013,7 +1013,7 @@ make_overisofs() {
1013
_over_isofs_list=("${channel_dir}/over_isofs.any""${channel_dir}/over_isofs.${arch}")
1014
for_module '_over_isofs_list+=("${module_dir}/{}/over_isofs.any" "${module_dir}/{}/over_isofs.${arch}")'
1015
for _isofs in "${_over_isofs_list[@]}"; do
1016
- [[ -d "${_isofs}" ]] && cp -af "${_isofs}"/* "${isofs_dir}"
+ [[ -d "${_isofs}" ]] && [[ -n "$(find "${_isofs}" -mindepth 1 -maxdepth 2)" ]] && cp -af "${_isofs}"/* "${isofs_dir}"
1017
done
1018
1019
return 0
0 commit comments