db/scripts/env.sh
Orion Kindel 0d639e8a9d
Some checks failed
migrate-devel / migrate-devel (push) Failing after 1m36s
chore: simplify vars
2023-06-23 19:18:18 -05:00

8 lines
113 B
Bash
Executable File

#! /bin/bash
file=${1:-./.env}
if [ -f "$file" ]; then
while read line; do export "$line"; done < "$file"
fi