bug in contrib/contrib-global.mk

Started by gianpaolo raccaover 23 years ago2 messagesbugs
Jump to latest
#1gianpaolo racca
gianpaolo@preciso.net

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' $< >$@

bye,

gianpaolo

#2Peter Eisentraut
peter_e@gmx.net
In reply to: gianpaolo racca (#1)
Re: bug in contrib/contrib-global.mk

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