Skip to content

Commit

Permalink
squash! docker: Use system GIT_CACHE_DIR if available
Browse files Browse the repository at this point in the history
Typo fixup
  • Loading branch information
cladmi committed Oct 23, 2018
1 parent eee0740 commit 2be71cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefiles/docker.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ DOCKER ?= docker

# Mounted volumes and exported environment variables

# Add GIT_CACHE_DIR if the direcotry exists
# Add GIT_CACHE_DIR if the directory exists
DOCKER_VOLUMES_AND_ENV += $(if $(wildcard $(GIT_CACHE_DIR)),-v $(GIT_CACHE_DIR):$(DOCKER_BUILD_ROOT)/gitcache)
DOCKER_VOLUMES_AND_ENV += $(if $(wildcard $(GIT_CACHE_DIR)),-e GIT_CACHE_DIR=$(DOCKER_BUILD_ROOT)/gitcache)

Expand Down

0 comments on commit 2be71cd

Please sign in to comment.