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:
parent
1fe6a63e01
commit
df117e2a10
@ -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>
|
2003-09-16 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* configure.in: Change AC_CHECK_FUNC(getaddrinfo...) to
|
* configure.in: Change AC_CHECK_FUNC(getaddrinfo...) to
|
||||||
|
@ -69,7 +69,7 @@ done
|
|||||||
# Resolve echo -n incompatibilities.
|
# Resolve echo -n incompatibilities.
|
||||||
e_n=-n
|
e_n=-n
|
||||||
e_c=
|
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_n=
|
||||||
e_c='\c'
|
e_c='\c'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user