#!/bin/sh

# We use this wrapper script both for production and in-source tests; in
# the latter case BUNDY_FROM_BUILD environment is expected to be defined.
if test -n "${BUNDY_FROM_BUILD}"; then
	exec ${BUNDY_FROM_BUILD}/src/bin/bundy/bundy-init $*
else
	prefix=/usr
	exec_prefix=/usr
	exec /usr/lib/bundy/bundy-init $*
fi
