Skip to content

Commit a88d5ae

Browse files
committed
fixup! example/Makefile: remove writable home, use TEMPDIR
1 parent 234ba21 commit a88d5ae

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
@@ -7,10 +7,11 @@ DOCKER = docker run -ti --rm \
77
$(if $(TEMPDIR),-v $(TEMPDIR):$(TEMPDIR)) \
88
-v $(CURDIR)/$(PLUGINS):/home/testbed/.vim/plugins "$(IMAGE)"
99

10-
test: TEMPDIR:=$(shell mktemp -d)
10+
test: TEMPDIR:=$(shell mktemp -d -u)
1111
test: test-setup
1212
docker build -f Dockerfile.tests -t "$(IMAGE)" .
1313
set -ex; \
14+
mkdir -m 0777 $(TEMPDIR); \
1415
vims="$$(docker run --rm $(IMAGE) ls /vim-build/bin | grep vim)"; \
1516
if [ -z "$$vims" ]; then echo "No Vims found!"; exit 1; fi; \
1617
count_vims=0; \

0 commit comments

Comments
 (0)