Skip to content

Commit 5ed9f44

Browse files
author
dmitriy
committedAug 17, 2020
fixed makefile
1 parent 40fe592 commit 5ed9f44

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎Makefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
dir=${CURDIR}
22

33
ifndef APP_ENV
4-
include .env
4+
# Determine if .env file exist
5+
ifneq ("$(wildcard .env)","")
6+
include .env
7+
else
8+
export COMPOSE_PROJECT_NAME=environment3
9+
endif
510
endif
611

712
project=-p ${COMPOSE_PROJECT_NAME}

0 commit comments

Comments
 (0)
Please sign in to comment.