Skip to content

Commit

Permalink
do not need support ksh anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Jun 24, 2024
1 parent ea7543a commit d29e8bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.rtm
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ if [ -n "$LUA_PATH" ]; then
fi

EXTRA_CMD="echo "
COMMON_OPTIONS="--with-supportKsh=yes --with-siteName=TACC --with-silentShellDebugging=yes"
COMMON_OPTIONS="--with-siteName=TACC --with-silentShellDebugging=yes"


case $SYSHOST in
Expand Down
4 changes: 1 addition & 3 deletions init/bash.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,12 @@ if [ -n "${ZSH_VERSION+x}" -a -z "${__LMOD_SET_ZSH_FPATH+x}" ]; then
unset zsh_fpath
fi

SUPPORT_KSH="@support_ksh@"
if [ $SUPPORT_KSH = yes -o -n "${KSH_VERSION+x}" -o -n "${BASH_VERSION+x}" ]; then
if [ -n "${KSH_VERSION+x}" -o -n "${BASH_VERSION+x}" ]; then
if [ -z "${__LMOD_SET_KSH_FPATH:-}" ]; then
export __LMOD_SET_KSH_FPATH=1
export FPATH=$(@PKGV@/libexec/addto --append FPATH $FPATH @PKGV@/init/ksh_funcs)
fi
fi
unset SUPPORT_KSH

export LMOD_ROOT=@lmod_root@
export LMOD_PKG=@PKGV@
Expand Down

0 comments on commit d29e8bb

Please sign in to comment.