mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-14 18:13:56 +01:00
modbuild: rmdir on macOS doesn't support --ignore-fail-on-non-empty option fixed
This commit is contained in:
1 parent
bbb798af91
commit
22ee989ad2
1 file changed
+1
-1
@@ -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