From: Ralf Wildenhues Date: Thu, 31 Jul 2008 17:46:14 +0000 (+0200) Subject: Fix sh.test failure. X-Git-Tag: v2.2.6~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ffcb6dc50d54bab448b32f65c19dac5311dcd4;p=thirdparty%2Flibtool.git 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 --- diff --git a/ChangeLog b/ChangeLog index d71e65272..92a76d4d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-07-31 Ralf Wildenhues + + * libltdl/config/ltmain.m4sh (func_to_host_path): Fix sh.test + failure. + Report by Paolo Bonzini. + 2008-07-31 Paolo Bonzini * ltmain.m4sh (func_emit_cwrapperexe_src): Factor diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 86eae7649..b1761692f 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -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