V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m44s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m44s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -191,9 +191,9 @@ yaml_secret() {
|
||||
yq -o=shell "${secrets_if}" >| "${__SECRETS}" && ciss_secrets_wiper "${secrets_if}"
|
||||
|
||||
LC_ALL=C sed -n -E '
|
||||
/^[[:space:]]*(#|$)/b
|
||||
s/^[[:space:]]*export[[:space:]]+//
|
||||
/^[[:space:]]*[A-Za-z_][A-Za-z0-9_]*_value=/p
|
||||
/^[[:space:]]*(#|$)/b # Skip empty/comment lines.
|
||||
s/^[[:space:]]*export[[:space:]]+// # Drop optional leading "export ".
|
||||
/^[[:space:]]*[A-Za-z_][A-Za-z0-9_]*_value=/!b # Keep only *_value= assignments.
|
||||
|
||||
# --- Empty-value normalisation ---------------------------------------
|
||||
s/^(.*)=\s*$/\1=""/ # turn key= into key=""
|
||||
|
||||
Reference in New Issue
Block a user