mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix unportable echo -n.
This commit is contained in:
parent
236ab6d8e0
commit
1cc32c3014
@ -1,3 +1,7 @@
|
||||
2009-04-20 Micah Cowan <micah@cowan.name>
|
||||
|
||||
* Makefile.am (version.c): Fix unportable use of "echo -n".
|
||||
|
||||
2009-04-11 Steven Schubiger <stsc@member.fsf.org>
|
||||
|
||||
* init.c (initialize): Run a custom SYSTEM_WGETRC when
|
||||
|
@ -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)'";' \
|
||||
|
Loading…
Reference in New Issue
Block a user