summaryrefslogtreecommitdiffhomepage
path: root/auto/fmt/xfmt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/fmt/xfmt12
1 files changed, 7 insertions, 5 deletions
diff --git a/auto/fmt/xfmt b/auto/fmt/xfmt
index 31f4d717d..2509f3ffb 100644
--- a/auto/fmt/xfmt
+++ b/auto/fmt/xfmt
@@ -1,6 +1,8 @@
-echo "#ifndef $ngx_fmt_name" >> $NGX_AUTO_CONFIG_H
-echo "#define $ngx_fmt_name \"$ngx_fmt\"" | sed -e 's/d"$/x"/' \
- >> $NGX_AUTO_CONFIG_H
-echo "#endif" >> $NGX_AUTO_CONFIG_H
-echo >> $NGX_AUTO_CONFIG_H
+cat << END | sed -e 's/d"$/x"/' >> $NGX_AUTO_CONFIG_H
+
+#ifndef $ngx_fmt_name
+#define $ngx_fmt_name "$ngx_fmt"
+#endif
+
+END