Commit 22ee989a authored by gsell's avatar gsell

modbuild: rmdir on macOS doesn't support --ignore-fail-on-non-empty option fixed

parent bbb798af
......@@ -943,7 +943,7 @@ pbuild::make_all() {
"removing release file '${release_file}' ..."
[[ "${dry_run}" == 'no' ]] && rm -v "${release_file}"
fi
rmdir -p --ignore-fail-on-non-empty "${dstdir}" 2>/dev/null
rmdir -p "${dstdir}" 2>/dev/null || :
}
########################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment