Commit 834c2358 authored by Petter Knudsen's avatar Petter Knudsen

Added suppresion of output when generating the default.vcl. Fixes #287


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3085 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent b9999183
......@@ -5,7 +5,7 @@ EXTRA_DIST = zope-plone.vcl
dist_data_DATA = default.vcl
default.vcl: $(top_srcdir)/bin/varnishd/default.vcl
echo -e "This is a basic VCL configuration file for varnish. See the vcl(7)\n\
@echo -e "This is a basic VCL configuration file for varnish. See the vcl(7)\n\
man page for details on VCL syntax and semantics.\n\
\n\
Default backend definition. Set this to point to your content\n\
......@@ -19,6 +19,6 @@ backend default {\n\
Below is a commented-out copy of the default VCL logic. If you\n\
redefine any of these subroutines, the built-in logic will be\n\
appended to your code.\n" > tmp.vcl
sed -n '/vcl_recv/,$$p' $(top_srcdir)/bin/varnishd/default.vcl >> tmp.vcl
sed 's/^\(.*\)$$/#\1/' tmp.vcl > default.vcl
rm tmp.vcl
@sed -n '/vcl_recv/,$$p' $(top_srcdir)/bin/varnishd/default.vcl >> tmp.vcl
@sed 's/^\(.*\)$$/#\1/' tmp.vcl > default.vcl
@rm tmp.vcl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment