[master] 7109360 Use printf rather than echo when writing default.vcl
Tollef Fog Heen
tfheen at varnish-cache.org
Wed Mar 16 11:39:41 CET 2011
commit 7109360d88af36c0b621fda81c4e93e8bdf609a4
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date: Wed Mar 16 11:37:16 2011 +0100
Use printf rather than echo when writing default.vcl
echo -e isn't in POSIX so it's not supported by all shells. Use
printf instead of echo to work around this.
diff --git a/etc/Makefile.am b/etc/Makefile.am
index c68f266..a250571 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -6,7 +6,7 @@ DISTCLEANFILES = default.vcl
dist_varnishconf_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\
+ @printf "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\
More information about the varnish-commit
mailing list