diff --git a/Pmodules/modbuild.in b/Pmodules/modbuild.in index b80afb1..0e39831 100755 --- a/Pmodules/modbuild.in +++ b/Pmodules/modbuild.in @@ -477,7 +477,10 @@ build_modules_yaml(){ local idx="$4" _result=$(${yq} -Ne e ".\"${version}\"[${idx}].relstage" \ "${fname}" 2>/dev/null) - (( $? != 0 )) && relstage='unstable' || : + (( $? == 0 )) && return + _result=$(${yq} -Ne e ".relstage" "${fname}" 2>/dev/null) + (( $? == 0 )) && return + _result='unstable' } yaml_get_overlay(){