Pmodules/libpbuild.bash:

- install_modulefile(): bugfix. create target directory if it doesn't already exist.
This commit is contained in:
2016-03-22 18:29:56 +01:00
parent 13a569c546
commit 8706097494
+1
View File
@@ -676,6 +676,7 @@ pbuild::make_all() {
local -r dst="${PMODULES_ROOT}/${MODULE_GROUP}/${PMODULES_TEMPLATES_DIR}/${P}"
std::info "${P}/${V}: installing modulefile in '${dst}' ..."
mkdir -p "${dst}"
install -m 0444 "${src}" "${dst}"
}