Commit 0dff5d58 authored by gsell's avatar gsell
Browse files

Merge branch...

Merge branch '71-modbuild-rmdir-on-macos-doesn-t-support-ignore-fail-on-non-empty-option' into 'master'

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

Closes #71

See merge request !36
parents bbb798af 22ee989a
......@@ -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