tech-pkg archive

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

Re: make: Unclosed variable specification for

On Fri, Jan 09, 2009 at 12:34:37PM +0100, Jukka Salmi wrote:
> Should this change also fix [1]this problem?  However, I can still
> reproduce it with parse.c rev 1.154.

No! That one is caused by:

FIND_PREFIX ={ghostscript,ghostscript-afpl,ghostscript-esp,ghostscript-gnu}>=6.01:C/=.*$//}

.for i in ${FIND_PREFIX} ends up generating/expanding:
And the :U code takes the first '}' as terminating the modifier.

I need to change the .for code to escape the first '}' (as it would a ':')
however the code needs moving :-( currently the substitution string is
generated before we know whether the substitution is a ${} or $() one
and the character needing escaping changes.

Expect a fix later today...


David Laight:

Home | Main Index | Thread Index | Old Index