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)'";' \