Skip to content

Commit

Permalink
Fix lmod path in module.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
aswinnarayanan committed Dec 6, 2024
1 parent 78498d6 commit b1ada78
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/lmod/module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
trap "" 1 2 3

case "$0" in
-bash|bash|*/bash) . /usr/share/lmod/6.6/init/bash ;;
-ksh|ksh|*/ksh) . /usr/share/lmod/6.6/init/ksh ;;
-zsh|zsh|*/zsh) . /usr/share/lmod/6.6/init/zsh ;;
-sh|sh|*/sh) . /usr/share/lmod/6.6/init/sh ;;
*) . /usr/share/lmod/6.6/init/sh ;; # default for scripts
-bash|bash|*/bash) . /usr/share/lmod/lmod/init/bash ;;
-ksh|ksh|*/ksh) . /usr/share/lmod/lmod/init/ksh ;;
-zsh|zsh|*/zsh) . /usr/share/lmod/lmod/init/zsh ;;
-sh|sh|*/sh) . /usr/share/lmod/lmod/init/sh ;;
*) . /usr/share/lmod/lmod/init/sh ;; # default for scripts
esac

trap - 1 2 3

0 comments on commit b1ada78

Please sign in to comment.