Files
docker-nginx/scripts/base.sh
Fergal Moran d9543ba414 Initial commit
2018-08-09 21:06:00 +01:00

19 lines
267 B
Bash

#!/bin/bash
#
# Basic scripts
#
# 1. Check if .env file exists
check_env_file() {
if [ -e .env ]; then
source .env
else
echo
echo "Please set up your .env file before starting your enviornment."
echo
exit 1
fi
}