From 0c1904ffb326368fe5a23ba11679b0666aba3bec Mon Sep 17 00:00:00 2001 From: Oleg Krasavin Date: Mon, 31 Dec 2018 10:32:48 +0300 Subject: [PATCH] Fix .env path --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e94a1b0..e4dcc76 100644 --- a/Makefile +++ b/Makefile @@ -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}') ##