bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool overquoting?


From: Gary V. Vaughan
Subject: Re: libtool overquoting?
Date: Thu, 13 Sep 2001 22:25:32 +0100
User-agent: Mutt/1.3.22.1i

On Tue, Sep 11, 2001 at 08:58:33PM -0500, Rob Browning wrote:
> 
> With libtool 1.4.1, I've been having trouble running programs because
> libtool seems to be "overquoting".  The simplest example is this:
> 
>   $ libtool --mode=execute echo foo
>   "foo"

It's wonderful to receive bug reports that are so easy to reproduce =)O|
Thanks.

> I wasn't completely sure this was a bug, but I didn't see anything
> similar in the past few months of the bug list, so I thought it worth
> reporting.

It is indeed a bug.  I backported the fix from CVS HEAD to branch-1-4
thus:

Index: ChangeLog
from  Gary V. Vaughan  <address@hidden>

        * ltmain.in (exec_cmd): Don't overquote or we end up with this:
        $ libtool --mode=execute echo foo
        "foo"
        Reported by Rob Browning <address@hidden>

Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/ltmain.in,v
retrieving revision 1.259.2.9
diff -u -p -u -r1.259.2.9 ltmain.in
--- ltmain.in 2001/09/11 00:05:33 1.259.2.9
+++ ltmain.in 2001/09/13 21:19:29
@@ -4610,7 +4610,7 @@ relink_command=\"$relink_command\""
       fi
 
       # Now prepare to actually exec the command.
-      exec_cmd='"$cmd"$args'
+      exec_cmd="\$cmd$args"
     else
       # Display what would be done.
       if test -n "$shlibpath_var"; then


Cheers,
        Gary.
-- 
  ())_. Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/  Research Scientist  http://www.oranda.demon.co.uk       ,_())____
  / )=  GNU Hacker          http://www.gnu.org/software/libtool  \'      `&
`(_~)_  Tech' Author        http://sources.redhat.com/autobook   =`---d__/



reply via email to

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