# Sourced by Peppa's bin wrappers: exports .env values without overriding variables that # are already set, so tests (and the runner's per-session env) can point at another DB. _peppa_env="${PEPPA_ROOT:?}/.env" if [ -f "$_peppa_env" ]; then while IFS= read -r _line || [ -n "$_line" ]; do case "$_line" in ''|\#*) continue ;; esac _key="${_line%%=*}" [ -z "${!_key+x}" ] && export "$_line" done < "$_peppa_env" fi unset _peppa_env _line _key