minor fixes in get_available_modules()

This commit is contained in:
Achim Gsell
2021-01-29 13:36:55 +01:00
parent 6dfb4eb5eb
commit 2f2da9e8f1
+2
View File
@@ -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}"