- Add scripts/forge/scope.sh at proxmox root delegating to smom-dbis-138 so load_deployment_env + forge-scope resolve the correct Forge repo. - Step 4 of run-all-next-steps-chain138.sh: call load_deployment_env after sourcing smom/.env so PRIVATE_KEY matches deploy scripts (fixes forge decode errors when key is indirected via repo root .env). Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
533 B
Bash
Executable File
14 lines
533 B
Bash
Executable File
#!/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" "$@"
|