From 612b8b8b616e63b9a9b00aa9af69766569d1ace8 Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 7 Feb 2015 00:13:44 +0100 Subject: Makefile: quote a variable This avoids an error if the path to rangers repository contains a space. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- cgit 1.4.1-2-gfad0