1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Fix portable echo handling under Bash.

This commit is contained in:
hniksic 2003-09-16 07:35:20 -07:00
parent 1fe6a63e01
commit df117e2a10
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-09-16 Hrvoje Niksic <hniksic@xemacs.org>
* util/dist-wget: Fixed portable echo checking under Bash.
2003-09-16 Hrvoje Niksic <hniksic@xemacs.org>
* configure.in: Change AC_CHECK_FUNC(getaddrinfo...) to

View File

@ -69,7 +69,7 @@ done
# Resolve echo -n incompatibilities.
e_n=-n
e_c=
if test "`(echo foo; echo -n bar) | tr '[\012]' x`" != fooxbar; then
if test x"`(echo -n foo; echo bar)`" != xfoobar; then
e_n=
e_c='\c'
fi