Skip to content

Commit

Permalink
Makefile: quote a variable
Browse files Browse the repository at this point in the history
This avoids an error if the path to rangers repository contains a space.
  • Loading branch information
hut committed Feb 6, 2015
1 parent 32c5e03 commit 612b8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 612b8b8

Please sign in to comment.