Skip to content

scripts/archon-check.sh

Source location: docs/source-files/scripts/archon-check.sh — this page is a rendered mirror; the file is the source of truth.

archon-check.sh
bash
#!/usr/bin/env sh
set -eu

SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
ROOT_DIR=${1:-"$SCRIPT_DIR/.."}

if command -v python3 >/dev/null 2>&1; then
  exec python3 "$SCRIPT_DIR/archon-check.py" --root "$ROOT_DIR"
fi

exec python "$SCRIPT_DIR/archon-check.py" --root "$ROOT_DIR"

Released under the Apache-2.0 License.