Is `#!/bin/sh' configurable?

Поиск
Список
Период
Сортировка
От Alexander Klimov
Тема Is `#!/bin/sh' configurable?
Дата
Msg-id Pine.SUN.4.21.0105081754340.23552-100000@dardar.wisdom.weizmann.ac.il
обсуждение исходный текст
Ответы Re: Is `#!/bin/sh' configurable?  (Peter Eisentraut <peter_e@gmx.net>)
Re: Is `#!/bin/sh' configurable?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Hi.

On some systems /bin/sh is not Burne Shell, e.g. /bin/sh is tcsh, but
there is /bin/sh5. It is looks like there is already knowledge about it in
the system: Makefile.ultrix4 has `SHELL=/bin/sh5' in it, but configure
thinks something else: config.status has `s%@SHELL@%/bin/sh%g'. (This is
really unrelated, because `src/bin/initdb/initdb.sh' has `#! /bin/sh'
hardcoded in it)

The result of the mess is that scripts like initdb are installed with
`#!/bin/sh', but they has function definition and tcsh complain about
usage of '('. 

BTW: After hand substitution I reach the point of 
IpcSemaphoreCreate: semget(key=4, num=17, 03600) failed: No space left on
device
The problem is that I have no idea how to enlarge the parameters on
`ULTRIX black 4.3 1 RISC', and it is looks like PG has no FAQ for
it. Anybody knows how to do it?

Regards,
ASK




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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: create database name with location = 'path';
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Changes needed to build on NetBSD