Thread: bug in contrib/contrib-global.mk

bug in contrib/contrib-global.mk

From
gianpaolo racca
Date:
In postgres 7.2.2 i found an error that causes array not to be correctly=20
installed, because variable $libdir not to be expanded.

line 196
sed 's,MODULE_PATHNAME,$$libdir/$*,g' $< >$@
I think should be
sed 's,MODULE_PATHNAME,$(libdir)/$*,g' $< >$@


bye,

    gianpaolo

Re: bug in contrib/contrib-global.mk

From
Peter Eisentraut
Date:
gianpaolo racca writes:

> In postgres 7.2.2 i found an error that causes array not to be correctly
> installed, because variable $libdir not to be expanded.
>
> line 196
> sed 's,MODULE_PATHNAME,$$libdir/$*,g' $< >$@
> I think should be
> sed 's,MODULE_PATHNAME,$(libdir)/$*,g' $< >$@

No, it's correct.  The $libdir is interpreted by the server.

--
Peter Eisentraut   peter_e@gmx.net