| От | Tom Lane |
|---|---|
| Тема | Re: BUG #1490: contrib .sql.in sed command bogus |
| Дата | |
| Msg-id | 3835.1109031416@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #1490: contrib .sql.in sed command bogus ("Alexis Wilke" <alexis@m2osw.com>) |
| Ответы |
Re: BUG #1490: contrib .sql.in sed command bogus
|
| Список | pgsql-bugs |
"Alexis Wilke" <alexis@m2osw.com> writes:
> Inside pgxs.mk I had to change the $$libdir into $(libdir ) to get the
> proper path in the final .sql file:
> ifneq (,$(MODULES)$(MODULE_big))
> %.sql: %.sql.in
> sed 's,MODULE_PATHNAME,$(libdir)/$*,g' $< >$@
> endif
This is not correct --- the substitution is supposed to be literally
"$libdir", and so the makefile is correct as-is. (I'm not sure why we
still bother with doing the sed conversion at all, except that if we
removed it you can be sure we'd think of some other thing we needed it
for ;-))
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера