File: install-input.sh.in

package info (click to toggle)
isc-kea 3.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 62,036 kB
  • sloc: cpp: 594,791; sh: 26,896; lex: 8,540; yacc: 8,424; python: 1,065; xml: 149; makefile: 39
file content (13 lines) | stat: -rwxr-xr-x 448 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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

mkdir -p "${target_path}/share/kea/fuzz"
cp -r '@current_build_dir@/input'/* "${target_path}/share/kea/fuzz"