Skip to content

Commit 1b562b1

Browse files
authored
Fix bash syntax issue in 'make dev.nfs.provision.services' (openedx-unsupported#509)
Due to incorrect variable quoting. Issue manifested as "/bin/sh: docker-compose.yml: command not found"
1 parent 1806165 commit 1b562b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ dev.nfs.up.all: | dev.nfs.up dev.nfs.up.watchers ## Bring up all services with h
140140
dev.nfs.provision: | check-memory dev.clone dev.nfs.provision.services stop ## Provision dev environment with all services stopped
141141

142142
dev.nfs.provision.services: ## Provision all services with local mounted directories
143-
DOCKER_COMPOSE_FILES=$(NFS_COMPOSE_FILES) ./provision.sh
143+
DOCKER_COMPOSE_FILES="$(NFS_COMPOSE_FILES)" ./provision.sh
144144

145145
dev.nfs.provision.services.%: ## Provision specified services with local mounted directories, separated by plus signs
146-
DOCKER_COMPOSE_FILES=$(NFS_COMPOSE_FILES) ./provision.sh $*
146+
DOCKER_COMPOSE_FILES="$(NFS_COMPOSE_FILES)" ./provision.sh $*
147147

148148
dev.up.xqueue: | check-memory ## Bring up xqueue, assumes you already have lms running
149149
bash -c 'docker-compose -f docker-compose.yml -f docker-compose-xqueue.yml -f docker-compose-host.yml -f docker-compose-themes.yml up -d'

0 commit comments

Comments
 (0)