Blame xsl/legacy-fixtpl-bash.xml

Packit 517ee8
Packit 517ee8
Packit 517ee8
Copyright 2010 Red Hat Inc., Durham, North Carolina.
Packit 517ee8
All Rights Reserved.
Packit 517ee8
Packit 517ee8
This library is free software; you can redistribute it and/or
Packit 517ee8
modify it under the terms of the GNU Lesser General Public
Packit 517ee8
License as published by the Free Software Foundation; either
Packit 517ee8
version 2.1 of the License, or (at your option) any later version.
Packit 517ee8
Packit 517ee8
This library is distributed in the hope that it will be useful,
Packit 517ee8
but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 517ee8
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 517ee8
Lesser General Public License for more details.
Packit 517ee8
Packit 517ee8
You should have received a copy of the GNU Lesser General Public
Packit 517ee8
License along with this library; if not, write to the Free Software
Packit 517ee8
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Packit 517ee8
Packit 517ee8
Authors:
Packit 517ee8
     Lukas Kuklinek <lkuklinek@redhat.com>
Packit 517ee8
-->
Packit 517ee8
Packit 517ee8
<fixtemplate xmlns='http://open-scap.org/xml/fixtemplate#' system='urn:xccdf:fix:commands urn:xccdf:fix:script:sh'>
Packit 517ee8
Packit 517ee8
Packit 517ee8
Packit 517ee8
<linecomment># </linecomment>
Packit 517ee8
Packit 517ee8
Packit 517ee8
Packit 517ee8
<before>#!/bin/bash
Packit 517ee8
# OpenSCAP fix generator output for benchmark: <sub select='normalize-space($benchmark/cdf:title[1])'/>
Packit 517ee8
Packit 517ee8
</before>
Packit 517ee8
Packit 517ee8
Packit 517ee8
Packit 517ee8
<fixentry># XCCDF rule: <sub select='$rule/@id'/><if test='$rule/cdf:ident'>
Packit 517ee8
# <sub select='string($rule/cdf:ident[1])'/></if>
Packit 517ee8
<sub select='$val'/>
Packit 517ee8
Packit 517ee8
</fixentry>
Packit 517ee8
Packit 517ee8
Packit 517ee8
Packit 517ee8
<after># generated: <sub select='$now'/>
Packit 517ee8
# END OF SCRIPT
Packit 517ee8
</after>
Packit 517ee8
Packit 517ee8
</fixtemplate>