From: Micah Cowan Date: Mon, 20 Apr 2009 17:37:27 +0000 (-0700) Subject: Fix unportable echo -n. X-Git-Tag: v1.13~362 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=1cc32c30145e83e7d67cc54f588e9d85addfe867 Fix unportable echo -n. --- diff --git a/src/ChangeLog b/src/ChangeLog index ca245088..697919d3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-04-20 Micah Cowan + + * Makefile.am (version.c): Fix unportable use of "echo -n". + 2009-04-11 Steven Schubiger * init.c (initialize): Run a custom SYSTEM_WGETRC when diff --git a/src/Makefile.am b/src/Makefile.am index 441cfa1b..16e4bcb0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -62,7 +62,7 @@ version.c: $(wget_SOURCES) $(LDADD) $(srcdir)/Makefile.am echo '/* version.c */' > $@ echo '/* Autogenerated by Makefile - DO NOT EDIT */' >> $@ echo '' >> $@ - echo -n 'const char *version_string = "@VERSION@"' >> $@ + echo 'const char *version_string = "@VERSION@"' >> $@ -hg log -r . --template='" ({node|short})"\n' 2>/dev/null >> $@ echo ';' >> $@ echo 'const char *compilation_string = "'$(COMPILE)'";' \