#!/usr/bin/env bash set -euo pipefail # Monorepo shim: load_deployment_env sets PROJECT_ROOT to the proxmox repo; forge-scope.sh # then runs "$PROJECT_ROOT/scripts/forge/scope.sh". Delegate to the real Forge repo. _WRAPPER_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" _PROXMOX_ROOT="$(cd "$_WRAPPER_DIR/../.." && pwd)" _SMOM_ROOT="${_PROXMOX_ROOT}/smom-dbis-138" _REAL="${_SMOM_ROOT}/scripts/forge/scope.sh" if [[ ! -f "$_REAL" ]]; then echo "error: expected Forge scope at ${_REAL}" >&2 exit 1 fi exec bash "$_REAL" "$@"