blob: 570260acb719d349b60381f38ad7cf836f3063af [file] [log] [blame]
# First and only positional argument is the path to the built cipd package file.
pkg="$1"
tempdir="$(mktemp -d)"
trap "rm -rf $tempdir" EXIT
cipd pkg-deploy "$pkg" -root "$tempdir"
if ![ -f "$tempdir/dtc" ]; then
echo "dtc binary missing from package!"
exit 1
fi
exit 0