2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 09:57:41 +00:00
kea/fuzz/install-input.sh.in

14 lines
448 B
Bash
Raw Normal View History

2025-04-22 18:13:51 +03:00
#!/bin/sh
set -eu
# Destdir is set everytime the installation happens through meson or ninja even when --destdir is not passed.
# Set target path to prefix in case someone wants to run this script directly.
target_path='@PREFIX@'
if test -n "${MESON_INSTALL_DESTDIR_PREFIX+x}"; then
target_path="${MESON_INSTALL_DESTDIR_PREFIX}"
fi
2025-05-09 18:23:00 +03:00
mkdir -p "${target_path}/share/kea/fuzz"
cp -r '@current_build_dir@/input'/* "${target_path}/share/kea/fuzz"