Skip to content

Commit

Permalink
Merge pull request #68
Browse files Browse the repository at this point in the history
Makefile : fix bad substitution error
  • Loading branch information
duboiss committed May 12, 2021
2 parents 327f47e + 5b7871b commit a8aa395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SHELL := /bin/bash
PHP_SERVICE := docker-compose exec -u www-data:www-data php sh -c

# Define a static project name that will be prepended to each service name
export COMPOSE_PROJECT_NAME := proximis_$(shell echo $${PWD\#\#*/} | tr '[:upper:]' '[:lower:]')
export COMPOSE_PROJECT_NAME := $(shell echo proximis_$(subst .,,$(notdir $(PWD))) | tr '[:upper:]' '[:lower:]')

# Extract environment variables needed by the environment
export DOCKER_PHP_IMAGE := $(shell grep DOCKER_PHP_IMAGE ${MAKEFILE_DIRECTORY}docker/local/.env | awk -F '=' '{print $$NF}')
Expand Down

0 comments on commit a8aa395

Please sign in to comment.