mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-27 23:17:46 +01:00
modulecmd: bugfix in handling overlay excludes
This commit is contained in:
1 parent
877906a73a
commit
a86a0a7ce4
1 file changed
+1
-1
@@ -1217,7 +1217,7 @@ get_available_modules() {
|
|||||||
# its sub-directories
|
# its sub-directories
|
||||||
local mod='' # module_name/module_version
|
local mod='' # module_name/module_version
|
||||||
while read -r mod; do
|
while read -r mod; do
|
||||||
[[ "${mod}" =~ ${OverlayExcludes} ]] && continue
|
[[ -n ${OverlayExcludes} && "${mod}" =~ ${OverlayExcludes} ]] && continue
|
||||||
local name="${mod%/*}"
|
local name="${mod%/*}"
|
||||||
local add='no'
|
local add='no'
|
||||||
if [[ -n "${ol}" && "${ol}" != 'none' ]]; then
|
if [[ -n "${ol}" && "${ol}" != 'none' ]]; then
|
||||||
|
|||||||
Reference in new issue
Block a user