Skip to content

Commit

Permalink
Fix .env path
Browse files Browse the repository at this point in the history
  • Loading branch information
okwinza committed Dec 31, 2018
1 parent 0093369 commit 0c1904f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ PHP_SERVICE := docker-compose exec webapp sh -c
export COMPOSE_PROJECT_NAME := symfony

# Create configuration files needed by the environment
SETUP_ENV := $(shell (test -f $(SELF_DIR).env || cp $(SELF_DIR).env.dist $(SELF_DIR).env))
SETUP_ENV := $(shell (test -f $(SELF_DIR)/.env || cp $(SELF_DIR)/.env.dist $(SELF_DIR)/.env))

# Extract environment variables needed by the environment
export DB_DIR := $(shell grep DB_DIR $(SELF_DIR).env | awk -F '=' '{print $$NF}')
export DB_DIR := $(shell grep DB_DIR $(SELF_DIR)/.env | awk -F '=' '{print $$NF}')


##
Expand Down

0 comments on commit 0c1904f

Please sign in to comment.