Merge branch '364-modbuild-if-no-variant-is-specified-an-uset-variable-is-used' into 'master'

Resolve "modbuild: if no variant is specified, an uset variable is used"

Closes #364

See merge request Pmodules/src!375

(cherry picked from commit 6603d91503)

8ceec1a8 build-system: using unset variables fixed if no variants specified

Co-authored-by: gsell <achim.gsell@psi.ch>
This commit is contained in:
2024-09-20 14:23:53 +02:00
parent 4e74ad6db8
commit 3168fb5104
+3 -3
View File
@@ -1590,11 +1590,11 @@ build_modules_yaml_v1(){
if (( num_variants == 0 )); then
is_variant_to_be_built \
"${module_name}" \
"${module_version}" \
"${name}" \
"${version}" \
vk_config || continue
build_modules_variant \
"${name}" "${v}" \
"${name}" "${version}" \
vk_config
else
local -i n=0