mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-17 15:10:02 +08:00
Fix sh.test failure.
* libltdl/config/ltmain.m4sh (func_to_host_path): Fix sh.test failure. Report by Paolo Bonzini. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
e36b1bcd8a
commit
f5ffcb6dc5
@ -1,3 +1,9 @@
|
||||
2008-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* libltdl/config/ltmain.m4sh (func_to_host_path): Fix sh.test
|
||||
failure.
|
||||
Report by Paolo Bonzini.
|
||||
|
||||
2008-07-31 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* ltmain.m4sh (func_emit_cwrapperexe_src): Factor
|
||||
|
@ -2563,7 +2563,7 @@ func_to_host_path ()
|
||||
# error code of zero AND non-empty stdout, which explains
|
||||
# the odd construction:
|
||||
func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
|
||||
if test $? -eq 0 && test -n "${func_to_host_path_tmp1}"; then
|
||||
if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
|
||||
func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
|
||||
$SED -e "$lt_sed_naive_backslashify"`
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user