scripts: default sibling path flex-auth -> access-engine after repository rename
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: sonnet Assistant-Process: 101414@bnt-lap001 Assistant-Session: 60b5a221-d435-42b9-b778-983c90c7eed6
This commit is contained in:
parent
93ee48aa50
commit
81d905971c
1 changed files with 2 additions and 2 deletions
|
|
@ -4,9 +4,9 @@ set -euo pipefail
|
|||
cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.."
|
||||
repo_root="$PWD"
|
||||
audit_source="${RTEL_AUDIT_CORE_SOURCE:-$repo_root/../audit-core}"
|
||||
policy_source="${RTEL_FLEX_AUTH_SOURCE:-$repo_root/../flex-auth}"
|
||||
policy_source="${RTEL_FLEX_AUTH_SOURCE:-$repo_root/../access-engine}"
|
||||
if [[ ! -f "$audit_source/audit_core/ingestion.py" || ! -f "$policy_source/go.mod" ]]; then
|
||||
echo 'Required: sibling audit-core and flex-auth checkouts, or RTEL_AUDIT_CORE_SOURCE / RTEL_FLEX_AUTH_SOURCE.' >&2
|
||||
echo 'Required: sibling audit-core and access-engine (flex-auth) checkouts, or RTEL_AUDIT_CORE_SOURCE / RTEL_FLEX_AUTH_SOURCE.' >&2
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p .cache/verify
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue