Pmodules/modulecmd.bash.in

- is_modulefile(): typo fixed
This commit is contained in:
2017-04-20 14:45:46 +02:00
parent cfac331329
commit ce283bddea
+1 -1
View File
@@ -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() {