From 808dea0b21af59e120a5619b2ed6c61eebdfdb05 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 14 May 2017 00:27:44 +0200 Subject: [PATCH] fixup! example/Makefile: remove writable home, use TEMPDIR --- example/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/Makefile b/example/Makefile index 9421682..c66143f 100644 --- a/example/Makefile +++ b/example/Makefile @@ -4,9 +4,10 @@ PLUGINS := test/plugins DOCKER = docker run -ti --rm \ -v $(CURDIR):/testbed \ + $(if $(TEMPDIR),-v $(TEMPDIR):$(TEMPDIR) \ -v $(CURDIR)/$(PLUGINS):/home/testbed/.vim/plugins "$(IMAGE)" -test: TEMPDIR=$(shell mktemp -d) +test: TEMPDIR:=$(shell mktemp -d) test: test-setup docker build -f Dockerfile.tests -t "$(IMAGE)" . set -ex; \