From ab4468ebf5a603bcc74f7c8e0eda919cf8b80201 Mon Sep 17 00:00:00 2001 From: Ivaylo Novakov Date: Tue, 16 Aug 2022 10:12:11 +0200 Subject: [PATCH] Fix the path at which `dc` looks for `.env`. --- dc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dc b/dc index 7b2f6030..6f7a9d49 100755 --- a/dc +++ b/dc @@ -11,7 +11,7 @@ cwd="$(dirname -- "$0";)"; # get portal modules configuration from .env file (if defined more than once, the last one is used) -PORTAL_MODULES=$(grep -e "^PORTAL_MODULES=" ${cwd}.env | tail -1 | sed "s/PORTAL_MODULES=//") +PORTAL_MODULES=$(grep -e "^PORTAL_MODULES=" ${cwd}/.env | tail -1 | sed "s/PORTAL_MODULES=//") # include base docker compose file COMPOSE_FILES="-f ${cwd}/docker-compose.yml"