Skip to content

Commit

Permalink
Adjust to regex for building scap delta tailoring files
Browse files Browse the repository at this point in the history
RHEL 9 has a STIG now and RHEL 7 is gone
  • Loading branch information
Mab879 committed Dec 18, 2024
1 parent 93573ab commit 29babc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/SSGCommon.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ macro(ssg_build_product PRODUCT)
ssg_render_policies_for_product(${PRODUCT})
add_dependencies(render-policies ${PRODUCT}-render-policies)

if(SSG_BUILD_DISA_DELTA_FILES AND "${PRODUCT}" MATCHES "rhel(7|8)|ol8")
if(SSG_BUILD_DISA_DELTA_FILES AND "${PRODUCT}" MATCHES "rhel(8|9)|ol8")
ssg_build_disa_delta(${PRODUCT} "stig")
add_dependencies(${PRODUCT} generate-ssg-delta-${PRODUCT}-stig)
endif()
Expand Down

0 comments on commit 29babc4

Please sign in to comment.