#!/usr/bin/env sh # Git remote helper for aproto:// URLs. set -eu ROOT="$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)" if command -v gleam >/dev/null 2>&1; then cd "$ROOT" exec gleam run -- "$@" fi if [ -x "$ROOT/build/erlang-shipment/entrypoint.sh" ]; then exec "$ROOT/build/erlang-shipment/entrypoint.sh" "$@" fi echo "gitproxy: gleam not found; install gleam or build an erlang shipment" >&2 exit 1