8 lines
113 B
Bash
Executable File
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
|