From aa8fcd7a8afbdf0f7512b9d71d5f7d7c46216803 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 9 Jun 2022 10:32:05 +0200 Subject: [PATCH] modbuild: is now defined as function analog to module() --- Pmodules/bash | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Pmodules/bash b/Pmodules/bash index 9f0963a..b9cbaf9 100644 --- a/Pmodules/bash +++ b/Pmodules/bash @@ -43,6 +43,14 @@ module() { } export -f module +modbuild(){ + ( + eval $("${PMODULES_HOME}/bin/modulecmd" bash load System:bash) + "${PMODULES_HOME}/bin/modbuild" "$@" + ) +} +export -f modbuild + # Local Variables: # mode: sh # sh-basic-offset: 8