From 0f817dcc6cdcfae40c83026baefc305b8578e66f Mon Sep 17 00:00:00 2001 From: Eduardo Barretto Date: Mon, 27 Sep 2021 17:19:46 +0200 Subject: [PATCH] Replace populate with bash-populate in build_remediations --- ssg/build_remediations.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ssg/build_remediations.py b/ssg/build_remediations.py index fb030ea6de62..5e52428f4466 100644 --- a/ssg/build_remediations.py +++ b/ssg/build_remediations.py @@ -338,8 +338,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 = "{0}='(bash-populate {0})'".format(cpe.variable) return var_include