|
Packit Service |
569379 |
#!/bin/bash -
|
|
Packit Service |
569379 |
# openscap 'run' programs locally script
|
|
Packit Service |
569379 |
# Copyright (C) 2011-2019 Red Hat Inc.
|
|
Packit Service |
569379 |
#
|
|
Packit Service |
569379 |
# This library is free software; you can redistribute it and/or
|
|
Packit Service |
569379 |
# modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
569379 |
# License as published by the Free Software Foundation; either
|
|
Packit Service |
569379 |
# version 2 of the License, or (at your option) any later version.
|
|
Packit Service |
569379 |
#
|
|
Packit Service |
569379 |
# This library is distributed in the hope that it will be useful,
|
|
Packit Service |
569379 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
569379 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
569379 |
# Lesser General Public License for more details.
|
|
Packit Service |
569379 |
#
|
|
Packit Service |
569379 |
# You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
569379 |
# License along with this library; if not, write to the Free Software
|
|
Packit Service |
569379 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
Packit Service |
569379 |
|
|
Packit Service |
569379 |
#----------------------------------------------------------------------
|
|
Packit Service |
569379 |
|
|
Packit Service |
569379 |
# With this script you can run oscap without needing to
|
|
Packit Service |
569379 |
# install the utility first. You just have to do for example:
|
|
Packit Service |
569379 |
#
|
|
Packit Service |
569379 |
# ./oscap_wrapper [oscap args ...]
|
|
Packit Service |
569379 |
|
|
Packit Service |
569379 |
#----------------------------------------------------------------------
|
|
Packit Service |
569379 |
|
|
Packit Service |
569379 |
# Build directory
|
|
Packit Service |
569379 |
b=@CMAKE_BINARY_DIR@
|
|
Packit Service |
569379 |
|
|
Packit Service |
569379 |
"$b/run" "$b/utils/oscap" "$@"
|