Files
cve-check-tool/test-init.sh
T
2016-01-08 14:58:38 +00:00

15 lines
328 B
Bash
Executable File

#!/bin/bash
set -e
top_srcdir="${1}"
top_builddir="${2}"
if [[ -d "${top_builddir}/tests/dummy_install/" ]]; then
rm -rf "${top_builddir}/tests/dummy_install/"
fi
mkdir -p "${top_builddir}/tests/dummy_install/"
find "${top_builddir}/src/plugins/" -name "*.so" | xargs -I{} cp {} "${top_builddir}/tests/dummy_install/."