mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-01 10:31:37 +02:00
profile/coreos/base: slsa: remove name collision between variable and function
__slsa_provenance_report is both a variable and a function, which is confusing. Rename the variable.
This commit is contained in:
parent
39f1d45dff
commit
91b64a5587
@ -14,7 +14,7 @@ cros_post_src_configure_enable_slsa_provenance_report() {
|
|||||||
einfo "Provenance generation not requested by build; skipping."
|
einfo "Provenance generation not requested by build; skipping."
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
export __slsa_provenance_report="yes"
|
export generate_slsa_provenance_report="yes"
|
||||||
}
|
}
|
||||||
# --
|
# --
|
||||||
|
|
||||||
@ -167,7 +167,7 @@ EOF
|
|||||||
# --
|
# --
|
||||||
|
|
||||||
cros_post_src_install_generate_slsa_provenance_report() {
|
cros_post_src_install_generate_slsa_provenance_report() {
|
||||||
if [ "${__slsa_provenance_report:-no}" != "yes" ] ; then
|
if [ "${generate_slsa_provenance_report:-no}" != "yes" ] ; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user