Skip to content

Commit

Permalink
Replace populate with bash_instantiate_variables in build_remediations
Browse files Browse the repository at this point in the history
  • Loading branch information
dodys committed Sep 27, 2021
1 parent 394db6c commit c060eb4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ssg/build_remediations.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,7 @@ def generate_platform_variables(self, platform):

cpe = self.local_env_yaml["product_cpes"].get_cpe(platform)
assert cpe.variable
var_include = ". /usr/share/scap-security-guide/remediation_functions\n"
var_include += "populate {0}".format(cpe.variable)
var_include = "bash_instantiate_variables {0}".format(cpe.variable)
return var_include


Expand Down

0 comments on commit c060eb4

Please sign in to comment.