[master] 100adab Help sed understand what the expression is

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Mar 13 19:00:08 CET 2017


commit 100adab299e146a2fea849e5fb6786397c09c577
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Mar 13 18:58:16 2017 +0100

    Help sed understand what the expression is
    
    According to vtest the hack fails on FreeBSD i386, so either it fixes it
    or I revert the whole thing.

diff --git a/doc/sphinx/Makefile.am b/doc/sphinx/Makefile.am
index a4303be..be5a677 100644
--- a/doc/sphinx/Makefile.am
+++ b/doc/sphinx/Makefile.am
@@ -46,7 +46,7 @@ all: link_srcdir
 
 html: sphinx_prereq
 	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
-	@sed -i 's/Q.*UESTION_MARK_HACK/?/' \
+	@sed -i -e 's/Q.*UESTION_MARK_HACK/?/' \
 	    $(BUILDDIR)/html/reference/varnishd.html
 	@echo
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
diff --git a/man/Makefile.am b/man/Makefile.am
index 312d0b3..15ce81f 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -46,7 +46,7 @@ varnishd.1: \
 	$(top_builddir)/doc/sphinx/reference/varnishd.rst \
 	$(top_builddir)/doc/sphinx/include/params.rst
 	${RST2MAN} $(RST2ANY_FLAGS) $(top_builddir)/doc/sphinx/reference/varnishd.rst $@
-	@sed -i 's/Q.*UESTION_MARK_HACK/?/' $@
+	@sed -i -e 's/Q.*UESTION_MARK_HACK/?/' $@
 
 varnishncsa.1: \
 	$(top_builddir)/doc/sphinx/reference/varnishncsa.rst \



More information about the varnish-commit mailing list