diff --git a/Pmodules/modulecmd b/Pmodules/modulecmd index 0dcb131..ba39772 100644 --- a/Pmodules/modulecmd +++ b/Pmodules/modulecmd @@ -2,5 +2,5 @@ unset BASH_ENV -declare -r bindir=$( cd $(dirname $0) && pwd -P ) +bindir=$( cd $(dirname "$0") && pwd -P ) "${bindir}/bash" --noprofile --norc "${bindir}/../libexec/modulecmd.bash" "$@"