another attempt at patching contrib/rserv/Makefile (fwd)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема another attempt at patching contrib/rserv/Makefile (fwd)
Дата
Msg-id 200210011515.g91FFqF17526@candle.pha.pa.us
обсуждение исходный текст
Список pgsql-patches
I just received this patch.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
--- Makefile.broken    Tue Oct  1 11:27:25 2002
+++ Makefile    Tue Oct  1 11:28:21 2002
@@ -25,7 +25,7 @@
     sed 's,@MODULE_FILENAME@,$$libdir/$(NAME),g' $< >$@

 $(PERLS) $(TCLS) $(SCRIPTS): %: %.in
-    sed -e 's,@MODULE_FILENAME@,$$libdir/$(NAME),g' \
+    sed -e 's,@MODULE_FILENAME@,\\$$libdir/$(NAME),g' \
         -e 's:@SQLDIR@:$(datadir)/contrib:g' \
         -e 's:@BINDIR@:$(bindir):g' \
         -e 's:@LIBDIR@:$(datadir)/contrib:g' $< >$@
Greetings, Bruce!

  This one does not use hardcoded paths, but just adds a backslash
  before '$libdir' to prevent variable interpolation in Perl. Hope
  this will work out OK. :]

--
С уважением, Алексей Борзов
отдел интернет-проектов ООО "РДВ-Медиа"
http://www.rdw.ru
http://www.vashdosug.ru

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Cesar
Дата:
Сообщение: New pg_resetxlog.pot file (pt_BR)
Следующее
От: Alexey Borzov
Дата:
Сообщение: another attempt at fixing contrib/rserv...