Re: [HACKERS] pgsql: Use strip -x on OS/X-darwin because non-"-x" causes link
От | Alvaro Herrera |
---|---|
Тема | Re: [HACKERS] pgsql: Use strip -x on OS/X-darwin because non-"-x" causes link |
Дата | |
Msg-id | 20071113183756.GD19014@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: [HACKERS] pgsql: Use strip -x on OS/X-darwin because non-"-x" causes link (Bruce Momjian <bruce@momjian.us>) |
Ответы |
Re: [HACKERS] pgsql: Use strip -x on OS/X-darwin
because non-"-x" causes link
Re: [HACKERS] pgsql: Use strip -x on OS/X-darwinbecause non-"-x" causes link |
Список | pgsql-committers |
Bruce Momjian wrote: > Tom Lane wrote: > > Peter Eisentraut <peter_e@gmx.net> writes: > > > Am Samstag, 10. November 2007 schrieb Bruce Momjian: > > >> Use strip -x on OS/X-darwin because non-"-x" causes link problems: > > > > > How will this work, considering that $template isn't set anywhere? > > > > It won't, of course. Perhaps something like > > > > if test `uname -s` = Darwin > > > > instead. > > I am afraid some unames don't have -s, so I did uname -a and tested for > it starting with Darwin. Patch attached and applied. Hmm, this doesn't seem to work for me: $ if test expr "`uname -a`" : 'Darwin' -ne 0 > then stripprog="${STRIPPROG-strip -x}" > else stripprog="${STRIPPROG-strip}" > fi -bash: test: too many arguments -- Alvaro Herrera http://www.amazon.com/gp/registry/5ZYLFMCVHXC "La naturaleza, tan frágil, tan expuesta a la muerte... y tan viva"
В списке pgsql-committers по дате отправления: