mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-09 15:53:59 +01:00
Pmodules/modulecmd.bash.in
- is_modulefile(): typo fixed
This commit is contained in:
1 parent
cfac331329
commit
ce283bddea
1 file changed
+1
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user