Blame oscap_wrapper.in

Packit 517ee8
#!/bin/bash -
Packit 517ee8
# openscap 'run' programs locally script
Packit 517ee8
# Copyright (C) 2011-2019 Red Hat Inc.
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 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
#----------------------------------------------------------------------
Packit 517ee8
Packit 517ee8
# With this script you can run oscap without needing to
Packit 517ee8
# install the utility first.  You just have to do for example:
Packit 517ee8
#
Packit 517ee8
#   ./oscap_wrapper [oscap args ...]
Packit 517ee8
Packit 517ee8
#----------------------------------------------------------------------
Packit 517ee8
Packit 517ee8
# Build directory
Packit 517ee8
b=@CMAKE_BINARY_DIR@
Packit 517ee8
Packit 517ee8
"$b/run" "$b/utils/oscap" "$@"