mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-28 10:29:37 +02:00
modbuild: rmdir on macOS doesn't support --ignore-fail-on-non-empty option fixed
This commit is contained in:
@@ -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 || :
|
||||
}
|
||||
|
||||
########################################################################
|
||||
|
||||
Reference in New Issue
Block a user