mirror of https://github.com/docker/cli.git
Fix mounts for directories with weird chars
Fixes: `make -f docker.Makefile binary` When directories have characters like `&&` they must be wrapped in quotes or else the docker run command will fail. Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
This commit is contained in:
parent
edfc89f4de
commit
1119e992f2
|
@ -7,7 +7,7 @@
|
||||||
DEV_DOCKER_IMAGE_NAME = docker-cli-dev
|
DEV_DOCKER_IMAGE_NAME = docker-cli-dev
|
||||||
LINTER_IMAGE_NAME = docker-cli-lint
|
LINTER_IMAGE_NAME = docker-cli-lint
|
||||||
CROSS_IMAGE_NAME = docker-cli-cross
|
CROSS_IMAGE_NAME = docker-cli-cross
|
||||||
MOUNTS = -v `pwd`:/go/src/github.com/docker/cli
|
MOUNTS = -v "$(CURDIR)":/go/src/github.com/docker/cli
|
||||||
VERSION = $(shell cat VERSION)
|
VERSION = $(shell cat VERSION)
|
||||||
ENVVARS = -e VERSION=$(VERSION) -e GITCOMMIT
|
ENVVARS = -e VERSION=$(VERSION) -e GITCOMMIT
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue