tools/build_when_required.sh

8 lines
239 B
Bash
Raw Normal View History

2020-01-20 10:40:26 +00:00
#! /usr/bin/env bash
# Args: <config-file> <arch> <builder-args> [<repo>]
CONFIG_DIR="$(dirname "$0")" &&
"$CONFIG_DIR/hash_modules.py" --require-build --installed "$1" "$2" &&
exec "$CONFIG_DIR/build.sh" "$@"
echo "No rebuild required."