Skip to content

Commit 808dea0

Browse files
committed
fixup! example/Makefile: remove writable home, use TEMPDIR
1 parent c604f94 commit 808dea0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ PLUGINS := test/plugins
44

55
DOCKER = docker run -ti --rm \
66
-v $(CURDIR):/testbed \
7+
$(if $(TEMPDIR),-v $(TEMPDIR):$(TEMPDIR) \
78
-v $(CURDIR)/$(PLUGINS):/home/testbed/.vim/plugins "$(IMAGE)"
89
9-
test: TEMPDIR=$(shell mktemp -d)
10+
test: TEMPDIR:=$(shell mktemp -d)
1011
test: test-setup
1112
docker build -f Dockerfile.tests -t "$(IMAGE)" .
1213
set -ex; \

0 commit comments

Comments
 (0)