set -e # exit immediately if a simple command exits with a non-zero status
set -u # report the usage of uninitialized variables

# Available variables
# $BOSH_COMPILE_TARGET - where this package & spec'd source files are available
# $BOSH_INSTALL_TARGET - where you copy/install files to be included in package

chmod +x consul-snapshot/consul-snapshot_linux_amd64
mkdir -p $BOSH_INSTALL_TARGET/bin
cp -a consul-snapshot/consul-snapshot_linux_amd64 $BOSH_INSTALL_TARGET/bin/consul-snapshot
