From ce283bddea6fecd02bcf3df9b52bc0df9a429905 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 20 Apr 2017 14:45:46 +0200 Subject: [PATCH] Pmodules/modulecmd.bash.in - is_modulefile(): typo fixed --- Pmodules/modulecmd.bash.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {