Fix absolute URL fix again

Ugh! This time I accidentally forgot the -i for sed.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
This commit is contained in:
Richard Laager
2020-05-29 13:56:02 -05:00
parent d1b3973b92
commit f7ba4f4b19

View File

@@ -18,7 +18,7 @@ help:
# not rebuilt if it already exists and 404.rst was not changed.
html: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@sed -E 's/(action|href|src)="([^\/#])/\1="\/\2/;s/\/http/http/' \
@sed -Ei 's/(action|href|src)="([^\/#])/\1="\/\2/;s/\/http/http/' \
"$(BUILDDIR)/html/404.html"
# Catch-all target: route all unknown targets to Sphinx using the new