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>
|
||||
|
||||
* configure.in: Change AC_CHECK_FUNC(getaddrinfo...) to
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user