mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-08-11 05:30:28 +02:00
Pmodules/libpbuild.bash:
- install_modulefile(): bugfix. create target directory if it doesn't already exist.
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user