mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-28 02:19:39 +02:00
modbuild: handling of empty variant array fixed
an entry <name>/<version>: without further information is legal and must be handled properly.
This commit is contained in:
@@ -568,6 +568,7 @@ build_modules_yaml(){
|
||||
for v in "${versions[@]}"; do
|
||||
local -i n_variants
|
||||
yaml_get_num_variants n_variants "${fname}" "${v}"
|
||||
(( n_variants == 0 )) && (( n_variants = 1 ))
|
||||
local -i i
|
||||
local -a deps=()
|
||||
local relstage
|
||||
|
||||
Reference in New Issue
Block a user