Re: improved Automake test for file names with funny characters

2005-09-13 Thread Paul Eggert
Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: > PE> What changes in mkinstalldirs need to be merged into install-sh? > PE> (Presumably these can be folded in after the changes below are > installed.) > > I'll have to check. I think I noticed that mkinstalldirs was > trying `mkdir -p' before

Re: improved Automake test for file names with funny characters

2005-09-13 Thread Alexandre Duret-Lutz
>>> "PE" == Paul Eggert <[EMAIL PROTECTED]> writes: PE> Following up on your response to PE> : PE> Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: >> I think some of these changes need to be synced with >> mkinstalld

Re: improved Automake test for file names with funny characters

2005-09-07 Thread Stepan Kasal
Hello, On Tue, Sep 06, 2005 at 12:16:31PM -0700, Paul Eggert wrote: > Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: > > Does Stepan's patch for quoting $@ before eval look right to you? > > No, because echo mishandles some path names. [...] and what about this: d=`sed "s,',''',g;

Re: improved Automake test for file names with funny characters

2005-09-06 Thread Paul Eggert
Following up on your response to : Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: > I think some of these changes need to be synced with > mkinstalldirs and vice-versa. I thought mkinstalldirs was obsolete now? Do we ne

Re: improved Automake test for file names with funny characters

2005-07-27 Thread Alexandre Duret-Lutz
>>> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: [...] adl> mkinstalldirs also uses IFS the split the directory in case `mkdir -p' adl> does not exist, but its `mkdir -p' check is more restrictive. (I buy adl> your "sleep 1; test -d" instead.) On second though I don't buy it: i

Re: improved Automake test for file names with funny characters

2005-07-27 Thread Alexandre Duret-Lutz
>>> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes: Paul> Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: >> I'm reluctant to chop $destdir using sed in a loop, but at least >> that sounds less clumsy than going into an empty subdirectory to >> execute set :) Any other idea ? Paul> Here's

Re: improved Automake test for file names with funny characters

2005-07-21 Thread Stepan Kasal
Hello, On Wed, Jul 20, 2005 at 01:56:35PM -0700, Paul Eggert wrote: > Here's a fix for that problem. The basic idea is to drop the use > of IFS, except on ancient platforms that don't support mkdir -p. Automake doesn't use non-GNU mkdir -p; it says that Solaris' mkdir -p is not thread safe. See

Re: improved Automake test for file names with funny characters

2005-07-20 Thread Paul Eggert
Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: > I'm reluctant to chop $destdir using sed in a loop, but at least > that sounds less clumsy than going into an empty subdirectory to > execute set :) Any other idea ? Here's a fix for that problem. The basic idea is to drop the use of IFS, except

Re: improved Automake test for file names with funny characters

2005-07-20 Thread Stepan Kasal
Hello Alexandre, On Tue, Jul 19, 2005 at 10:08:45PM +0200, Alexandre Duret-Lutz wrote: > I'm reluctant to chop $destdir using sed in a loop, [...] I think there is a possibility to call the sed only once, before the set. Please have a look at the attached patch. I have made some experiments on my

Re: improved Automake test for file names with funny characters

2005-07-19 Thread Alexandre Duret-Lutz
>>> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes: Paul> After the recent Autoconf patch to allow | in file names, Paul> and some minor cleanups, here is a revised patch (I took your last Paul> version and ran with it): I've installed this patch as follow. (I just removed '%' and '@%:@' fr

Re: improved Automake test for file names with funny characters

2005-07-04 Thread Paul Eggert
Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: > $ac_abs_srcdir, $ac_top_srcdir, and $ac_abs_top_srcdir all > contain a '&', so the matched pattern gets inserted back into > the output. Then sed processes the line again and loop > infinitely. Thanks for investigating it. I installed the follo

Re: improved Automake test for file names with funny characters

2005-07-04 Thread Paul Eggert
Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: > 4) $ht and $sp do not fail for me. I had to remove these from both > lists of expected failures. Do they fail for you? No, not now -- now that I'm using the Autoconf patch you just posted. (I haven't investigated why. If you think it im

Re: improved Automake test for file names with funny characters

2005-07-02 Thread Alexandre Duret-Lutz
Hi Paul, This patch looks really great! Thanks for doing that. I've changed a couple of things: 1) exit 77 as soon as one "mkdir $file" fails (perhaps this could be done in a more subtle way, but I'm not sure that is really important) 2) exit 0 if no unexpected failure or success (was t