diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 80b97af..2f17702 100755 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -510,7 +510,7 @@ is_modulefile() { local shebang [[ -r ${fname} ]] || return 1 read -n 11 shebang < "${fname}" - [[ "${shebang:0:8}" == "#%Module" ]] || [[ "${shebang:0:9}" == "#%Pmodule" ]] || + [[ "${shebang:0:8}" == "#%Module" ]] || [[ "${shebang:0:9}" == "#%Pmodule" ]] } subcommand_generic0() {