libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: libtool-1.5.x quote.test fails with solaris /bin/ksh


From: Ralf Wildenhues
Subject: FYI: libtool-1.5.x quote.test fails with solaris /bin/ksh
Date: Tue, 28 Dec 2004 13:28:14 +0100
User-agent: Mutt/1.4.1i

Committed the following to HEAD and branch-2-0
(still pending a fix for "$ECHO computed for the wrong shell").

Regards,
Ralf

* Ralf Wildenhues wrote on Thu, Dec 16, 2004 at 03:35:14PM CET:
>
> The second problem (only applies to branch-2-0 and HEAD, not to
> libtool-1-5) is that quote.test uses /bin/sh, no matter what
> libtool uses.  Thus, libtool's value of $ECHO might not fit for
> quote.test.  This should be fixed with the patch below (but that
> fix is still quite ugly, I might consider a cleaner solution).
*snip*
> 
>         * tests/quote.test: Restart under the correct shell (the one
>         $ECHO was computed for).
> 
> Index: tests/quote.test
> ===================================================================
> RCS file: /cvsroot/libtool/libtool/tests/quote.test,v
> retrieving revision 1.14
> diff -u -r1.14 quote.test
> --- tests/quote.test  11 Oct 2004 15:15:00 -0000      1.14
> +++ tests/quote.test  16 Dec 2004 13:55:27 -0000
> @@ -26,6 +26,15 @@
>  # Do the torture test.
>  status=$EXIT_SUCCESS
>  
> +case $2 in
> +  --no-reexec)
> +    ;;
> +  *)
> +    func_get_config "SHELL" "../libtool --config"
> +    exec $SHELL "$0" --no-reexec ${1+"$@"}
> +    ;;
> +esac
> +
>  func_get_config "ECHO" "../libtool --config"
>  
>  for mode in compile link install; do
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]