Re: [PATCH] check for ctags utility in make_ctags

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] check for ctags utility in make_ctags
Дата
Msg-id 4273.1546446946@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] check for ctags utility in make_ctags  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: [PATCH] check for ctags utility in make_ctags  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 01/01/2019 17:44, Nikolay Shaplov wrote:
>> +if [ ! $(command -v ctags) ]
>> +then
>> +  echo "'ctags' utility is not found" 1>&2
>> +  echo "Please install 'ctags' to run make_ctags" 1>&2
>> +  exit 1
>> +fi

> This assumes that the ctags and etags programs are part of packages of
> the same name.  I don't think that is always the case.

In fact, that's demonstrably not so: on my RHEL6 and Fedora boxes,
/usr/bin/etags isn't owned by any package, because it's a symlink
managed by the "alternatives" system.  It points to /usr/bin/etags.emacs
which is owned by the emacs-common package.  So dropping the advice
about how to fix the problem seems like a good plan.

            regards, tom lane


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

Предыдущее
От: "Daniel Verite"
Дата:
Сообщение: backslash-dot quoting in COPY CSV
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: [HACKERS] Removing [Merge]Append nodes which contain a singlesubpath