This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: r150960 changed ltmain.sh and broke the build


On 08/26/2009 12:48 PM, Dave Korn wrote:
Dave Korn wrote:

Also please single-quote the commands.

Ok, why?

BTW should I do that for all four of the patterns? And what about $dirname and $basename, and the couple of dozen other locations in ltmain.sh that use quoted sed scripts? (You didn't answer my question about "why" yet so I can't infer anything.)

I don't like very much backslash sequences in double-quoted variables. It's portable, but somewhat unintuitive. But this is upstream code after all, so it's better to leave it alone. Sorry for the false alarm.


Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]