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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Signed-off-by: Michael Lass <bevan@xxxxxxxxx>
---
 libdmmp/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libdmmp/Makefile b/libdmmp/Makefile
index cdd26ed7..a5031b67 100644
--- a/libdmmp/Makefile
+++ b/libdmmp/Makefile
@@ -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
-- 
2.14.2

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux