diff --git a/init/lmod/fish b/init/lmod/fish index 1098108b1b..aceee3f725 100644 --- a/init/lmod/fish +++ b/init/lmod/fish @@ -4,7 +4,7 @@ set EESSI_CVMFS_REPO (set -q EESSI_CVMFS_REPO; and echo "$EESSI_CVMFS_REPO"; or set EESSI_VERSION (set -q EESSI_VERSION; and echo "$EESSI_VERSION"; or echo "2023.06") # Path to top-level module tree set -x MODULEPATH MODULEPATH="$EESSI_CVMFS_REPO/versions/$EESSI_VERSION/init/modules" -. "$EESSI_CVMFS_REPO/versions/$EESSI_VERSION/compat/linux/$(uname -m)/usr/share/Lmod/init/fish" +. "$EESSI_CVMFS_REPO/versions/$EESSI_VERSION/compat/linux/(uname -m)/usr/share/Lmod/init/fish" if test -z "$__Init_Default_Modules" export __Init_Default_Modules=1;