]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fix sh.test failure.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 31 Jul 2008 17:46:14 +0000 (19:46 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 31 Jul 2008 17:46:14 +0000 (19:46 +0200)
* 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>
ChangeLog
libltdl/config/ltmain.m4sh

index d71e6527289d59bd20b462729b9f893399c6f53c..92a76d4d68555d39498dc59d0daa371d3acf0e32 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 86eae7649822172e2109f0c71a277015664d9d51..b1761692f908c3dbe1f852e8b0508a46487711e8 100644 (file)
@@ -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