Hi Eric and Paul,

On 03/01/2013 03:08 AM, Eric Blake wrote:
On 02/28/2013 09:57 AM, Paul Eggert wrote:
On 02/28/13 05:31, Peter Johansson wrote:
would it make sense to defined MKDIR_P with absolute path instead
Yes, that sounds reasonable, if someone could prepare a patch
along those lines.
One wrinkle - absolute paths might contain spaces, whereas relative
paths do not, if a package is built in a containing directory named with
a space.  Does switching to an absolute path risk a problem with proper
quoting?

Yes, probably. Automake defines e.g.

AUTOCONF = ${SHELL} /home/peterJo/projects/software/yat/build-aux/missing autoconf

and when the path to 'missing' contains a space, it gets quoted

AUTOCONF = ${SHELL} "/home/peterJo/projects/software/yat space/autotools/missing" autoconf.

One could, iow, probably borrow some code from Automake. I'll have a look at it but can't promise anything.

Cheers,
Peter

Reply via email to