Blame SOURCES/openscap-1.2.17-align-bash-role-header-with-help.patch

b1f2c6
From 9b80b4a4ea4163f65004f2b16e65b8adcdf2b3dc Mon Sep 17 00:00:00 2001
b1f2c6
From: Marek Haicman <mhaicman@redhat.com>
b1f2c6
Date: Thu, 4 Jan 2018 00:29:26 +0100
b1f2c6
Subject: [PATCH] Make command in bash role header in line with --help
b1f2c6
b1f2c6
Point is to make more explicit it's a placeholder name - using
b1f2c6
the same name --help use might do the trick.
b1f2c6
---
b1f2c6
 src/XCCDF_POLICY/xccdf_policy_remediate.c | 2 +-
b1f2c6
 1 file changed, 1 insertion(+), 1 deletion(-)
b1f2c6
b1f2c6
diff --git a/src/XCCDF_POLICY/xccdf_policy_remediate.c b/src/XCCDF_POLICY/xccdf_policy_remediate.c
b1f2c6
index fbbad8885..1a7d21ed7 100644
b1f2c6
--- a/src/XCCDF_POLICY/xccdf_policy_remediate.c
b1f2c6
+++ b/src/XCCDF_POLICY/xccdf_policy_remediate.c
b1f2c6
@@ -846,7 +846,7 @@ static int _write_script_header_to_fd(struct xccdf_policy *policy, struct xccdf_
b1f2c6
 			"# Benchmark Version:  %s\n#\n"
b1f2c6
 			"# XCCDF Version:  %s\n#\n"
b1f2c6
 			"# This file was generated by OpenSCAP %s using:\n"
b1f2c6
-			"# 	$ oscap xccdf generate fix --profile %s%s%s sds.xml \n#\n"
b1f2c6
+			"# 	$ oscap xccdf generate fix --profile %s%s%s xccdf-file.xml \n#\n"
b1f2c6
 			"# This script is generated from an OpenSCAP profile without preliminary evaluation.\n"
b1f2c6
 			"# It attempts to fix every selected rule, even if the system is already compliant.\n"
b1f2c6
 			"#\n"