mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-28 10:29:37 +02:00
minor fixes in get_available_modules()
This commit is contained in:
@@ -758,6 +758,7 @@ get_available_modules() {
|
||||
|
||||
local -A dict
|
||||
local -A modulenames
|
||||
local dir
|
||||
for dir in "${dirs[@]}"; do
|
||||
test -d "${dir}" || continue
|
||||
{
|
||||
@@ -766,6 +767,7 @@ get_available_modules() {
|
||||
# - after loading the parent of a hierarchical group
|
||||
# - if we do a search
|
||||
# - if we create a new hierarchical group
|
||||
local overlay
|
||||
local group
|
||||
find_overlay overlay group "${dir}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user