Skip to contentSkip to conversation

multipath-tools: libdmmp: Fix build for members of samba domain

PATCH New Michael Lass 1 participant 1 message Oct 2, 2017 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: libdmmp: Fix build for members of samba domain

When the user building libdmmp is part of a samba domain, mktemp will create a path like /tmp/MYDOMAIN\mylogin/tmp.* Use quotation marks to allow using a path containing backslashes as build otherwise fails for these users.

---
 libdmmp/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
libdmmp/Makefile +3 -3
index cdd26ed7..a5031b67 100644
@@ -75,10 +75,10 @@ docs/man/$(EXTRA_MAN_FILES).gz: $(HEADERS)
 		$(INSTALL_PROGRAM) -v -m 644 -D docs/$$file docs/man/$$file; \
 	done
 	cat $(HEADERS) | \
-	    perl docs/doc-preclean.pl > $(TEMPFILE)
-	perl docs/kernel-doc -man $(TEMPFILE) | \
+	    perl docs/doc-preclean.pl > "$(TEMPFILE)"
+	perl docs/kernel-doc -man "$(TEMPFILE)" | \
 	    perl docs/split-man.pl docs/man
-	-rm -f $(TEMPFILE)
+	-rm -f "$(TEMPFILE)"
 	@for file in docs/man/*.3; do \
 		gzip -f $$file; \
 	done
Signature · 1 line
2.14.2