summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-02-07 00:13:44 +0100
committerhut <hut@lepus.uberspace.de>2015-02-07 00:13:59 +0100
commit612b8b8b616e63b9a9b00aa9af69766569d1ace8 (patch)
tree8adcb9596ff8a43357918972e7459682678dc7ac
parent32c5e03322894e3fcd990d9ba6f4365b30aadc4f (diff)
downloadranger-612b8b8b616e63b9a9b00aa9af69766569d1ace8.tar.gz
Makefile: quote a variable
This avoids an error if the path to rangers repository contains a space.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6c31bb0f..1ed19c64 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,7 @@ doc: cleandoc
 		$(PYTHON) -c 'import pydoc, sys; \
 		sys.path[0] = "$(CWD)"; \
 		pydoc.writedocs("$(CWD)")'
-	find . -name \*.html -exec sed -i 's|'$(CWD)'|../..|g' -- {} \;
+	find . -name \*.html -exec sed -i 's|'"$(CWD)"'|../..|g' -- {} \;
 
 test:
 	@for FILE in $(shell grep -IHm 1 doctest -r ranger | grep $(FILTER) | cut -d: -f1); do \