V8.03.832.2025.06.24
All checks were successful
🛡️ Retrieve DNSSEC status of coresecret.dev. / 🛡️ Retrieve DNSSEC status of coresecret.dev. (push) Successful in 36s
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m25s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-06-24 10:50:24 +02:00
parent df806d086f
commit 7459585d20
37 changed files with 53 additions and 57 deletions

View File

@@ -10,23 +10,7 @@
# SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu
### Prevent this file from being sourced twice. Derive a safe guard-variable name from the script filename.
var_file_name="${BASH_SOURCE[0]##*/}"
var_safe_name="${var_file_name//[^a-zA-Z0-9_]/_}"
var_guard_var="_${var_safe_name}_LOADED"
### If var_guard_var is already set, abort sourcing.
if [[ -n "${!var_guard_var:-}" ]]; then
unset var_file_name var_safe_name var_guard_var
return 0
fi
### Set var_guard_var and make it readonly+exported
declare -grx "${var_guard_var}"=1
unset var_file_name var_safe_name var_guard_var
### Sourcing Debug Libs
. ./lib/lib_debug.sh
. ./lib/lib_debug_header.sh
. ./lib/lib_debug_var_git.sh
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh