Files
myos/spec/unit/config_load_helper.sh
Yann Autissier 990b99f0c0 add the config and compose modules
config: dotenv files are parsed, never sourced, so a value can hold a # or a
$(...) without breaking or executing. The make engine included .env with
make syntax, which neither allowed.
compose: one call per project instead of one per sub-stack.
2026-09-03 18:29:36 +02:00

6 lines
161 B
Bash

#shellcheck shell=sh
# Helper: myos_dotenv_load sets variables in the caller's scope.
[ -n "${2:-}" ] && LOADED=$2
myos_dotenv_load "$1"
printf '%s\n' "$LOADED"