Skip to content

Commit

Permalink
Fixed issue with Makefile prefixing extra whitespace to envvars and f…
Browse files Browse the repository at this point in the history
…ailing Docker build in some environments. (CivicTechTO#33)
  • Loading branch information
Patrick Connolly committed Oct 17, 2024
1 parent 745851d commit e243833
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 @@ -9,11 +9,11 @@ SHELL=/bin/bash
E2E_RUN = cd e2e;

define parse_env_value
$(shell grep -e ^$(1) ${ENV_FILE} | awk -F'[=]' '{gsub(/ /,"");print $$2}')
$(shell grep -e ^$(1) ${ENV_FILE} | awk -F'[=]' '{gsub(/ /,"");print $$2}')
endef

define parse_env_bool
$(if $(filter false,$(1)),false,true)
$(if $(filter false,$(1)),false,true)
endef

# Default environment and settings (dev)
Expand Down

0 comments on commit e243833

Please sign in to comment.