mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-01 11:49:38 +02:00
init/bash: cleanup
This commit is contained in:
+1
-5
@@ -29,11 +29,9 @@ fi
|
||||
unset MODULE_VERSION
|
||||
unset MODULE_VERSION_STACK
|
||||
unset MODULESHOME
|
||||
#unset PMODULES_ENV
|
||||
|
||||
declare -x PMODULES_DIR="${PMODULES_HOME}"
|
||||
|
||||
|
||||
#############################################################################
|
||||
# implement module comand as shell function
|
||||
#
|
||||
@@ -44,9 +42,7 @@ module() {
|
||||
export -f module
|
||||
|
||||
modbuild(){
|
||||
(
|
||||
"${PMODULES_HOME}/bin/modbuild" "$@"
|
||||
)
|
||||
"${PMODULES_HOME}/bin/modbuild" "$@"
|
||||
}
|
||||
export -f modbuild
|
||||
|
||||
|
||||
Reference in New Issue
Block a user