This repository has been archived on 2022-02-20. You can view files and clone it, but cannot push or open issues/pull-requests.
|
#!/bin/bash
|
|
# must have fuser and bindfs installed
|
|
module-load () {
|
|
BASH_MODULES="${BASH_MODULES:-/opt/bash/modules}"
|
|
MODULES=$1
|
|
echo $MODULES
|
|
for i in ${MODULES[@]}; do
|
|
echo $BASH_MODULES ${i}
|
|
. "$BASH_MODULES"/"$i".sh
|
|
done
|
|
}
|