Commit fd8ae82 Robert McLay
committed
1 parent b1066b6 commit fd8ae82 Copy full SHA for fd8ae82
File tree 3 files changed +2
-9
lines changed
3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -69,5 +69,6 @@ Lmod 7.7+
69
69
(7.7.35) issue #374: convert ~ to $HOME internally. This allows C-shell users to use ~
70
70
inside a modulefile and have it work when unloading.
71
71
issue #375: Support for is-loaded and is-avail added.
72
-
72
+ (7.7.36) Do not convert LMOD_PKG from /opt/apps/lmod/7.7.35 to /opt/apps/lmod/lmod if the link exists.
73
+
73
74
Original file line number Diff line number Diff line change 16
16
[ -n " ${__lmod_vx} " ] && set +$__lmod_vx
17
17
18
18
export LMOD_PKG=@PKGV@
19
- if [ " ${LMOD_PKG##*/ } " != " lmod" -a -L $LMOD_PKG /../lmod ]; then
20
- LMOD_PKG=${LMOD_PKG%/* } /lmod
21
- fi
22
19
23
20
if [ -n " ${__lmod_vx} " ]; then
24
21
echo " Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for this output ($LMOD_PKG /init/bash)"
Original file line number Diff line number Diff line change 1
1
#! /bin/csh
2
2
setenv LMOD_PKG " @PKGV@"
3
- set lastdir = ` echo $LMOD_PKG | sed -e ' s|.*/||' `
4
- if ( $lastdir ! = " lmod" && -f $LMOD_PKG /../lmod ) then
5
- set dir = ` echo $LMOD_PKG | sed -e ' s|/[^/]*$|/|g' `
6
- setenv LMOD_PKG " $dir /lmod"
7
- endif
8
3
setenv LMOD_CMD " $LMOD_PKG /libexec/lmod"
9
4
setenv LMOD_DIR " $LMOD_PKG /libexec"
10
5
setenv MODULESHOME " $LMOD_PKG "
You can’t perform that action at this time.
0 commit comments