#!/usr/bin/env bash

# Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2.0 License.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2017-Present Datadog, Inc.

set -e -x

mkdir -p ${BOSH_INSTALL_TARGET}
tar -xf datadog-cluster-agent/datadog-cluster-agent-cloudfoundry.tar.xz -C datadog-cluster-agent
cp datadog-cluster-agent/datadog-cluster-agent-cloudfoundry ${BOSH_INSTALL_TARGET}/
