Resolve security libraries beside canonical entrypoints

This commit is contained in:
Afonso Oliveira committed 2026-09-07 17:31:54 +01:00
1 parent f37c73fa20
commit 5bc41b2585
6 files changed
+43 -5

No files matched your search

+2 -1
View File
@@ -10,7 +10,8 @@ if [[ $- != *p* ]]; then
exit 126
fi
source "${BASH_SOURCE[0]%/*}/omarchy-security-functions" || exit 126
security_entrypoint=$(/usr/bin/readlink -e -- "${BASH_SOURCE[0]}") || exit 126
source "${security_entrypoint%/*}/omarchy-security-functions" || exit 126
omarchy_security_require_privileged_bash_startup || exit 126
set -e
omarchy_security_sanitize_bash_environment "$0" "$@"