mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 10:03:08 +02:00
Merge branch 'cherry-pick-99a16899' into '1.1.22'
Merge branch '360-modulecmd-overlayexcludes-matches-everything-if-empty' into 'master' See merge request Pmodules/src!368
This commit is contained in:
@@ -1217,7 +1217,7 @@ get_available_modules() {
|
||||
# its sub-directories
|
||||
local mod='' # module_name/module_version
|
||||
while read -r mod; do
|
||||
[[ "${mod}" =~ ${OverlayExcludes} ]] && continue
|
||||
[[ -n ${OverlayExcludes} && "${mod}" =~ ${OverlayExcludes} ]] && continue
|
||||
local name="${mod%/*}"
|
||||
local add='no'
|
||||
if [[ -n "${ol}" && "${ol}" != 'none' ]]; then
|
||||
|
||||
Reference in New Issue
Block a user