Files
obi-kit/tools/kit-copy.sh
T

7 lines
383 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# Delegates to crate-kit (tools/kit-copy.sh) with the obi-kit extension: this is the script that crates call
# (KIT_SRC ?= ../obi-kit in their Makefile). CRATE_KIT designates another location of crate-kit.
set -euo pipefail
here="$(cd "$(dirname "$0")/.." && pwd)"
export KIT_OVERLAY="$here/overlay"
exec "${CRATE_KIT:-$here/../crate-kit}/tools/kit-copy.sh" "$@"