Skip to content

Commit ba8295f

Browse files
bjoerndwipawel
authored andcommitted
Fix DOCKER_MOUNT_OPTS for make style
Signed-off-by: Bjoern Doebel <[email protected]>
1 parent 7ed319b commit ba8295f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ cscope:
185185
.PHONY: style
186186
style:
187187
@echo "STYLE"
188-
$(VERBOSE) docker run --rm --workdir /src -v $(PWD):/src clang-format-lint --clang-format-executable /clang-format/clang-format10 \
188+
$(VERBOSE) docker run --rm --workdir /src -v $(PWD):/src$(DOCKER_MOUNT_OPTS) clang-format-lint --clang-format-executable /clang-format/clang-format10 \
189189
-r $(SOURCES) $(HEADERS) | grep -v -E '^Processing [0-9]* files:' | patch -s -p1 ||:
190190

191191
DOCKERFILE := $(shell find $(ROOT) -type f -name Dockerfile)

0 commit comments

Comments
 (0)