Re: Remove unneeded bash dependency

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Remove unneeded bash dependency
Дата
Msg-id CA+OCxowmSPs4JPPocD9rLRhzE2MSaFwixhiPc2seTPnW2VpDiw@mail.gmail.com
обсуждение исходный текст
Ответ на Remove unneeded bash dependency  (Daniel Camolês <bigatojj@gmail.com>)
Список pgadmin-hackers
On Mon, Mar 7, 2016 at 1:40 PM, Daniel Camolês <bigatojj@gmail.com> wrote:
> Hello guys,
>
> I tried to compile
> https://ftp.postgresql.org/pub/pgadmin3/release/v1.22.1/src/pgadmin3-1.22.1.tar.gz
> on OpenBSD 5.8 and it failed because the shell script
> pgadmin/ver_svn.sh shebang pointed to /bin/bash, which I don't have.
> Looking into the script, it doesn't use any bash specific idiom. I
> made a symbolic link /bin/bash pointing to /bin/sh and the build
> process completed successfully. I grepped the rest of the source for
> /bin/bash and the other places where bash is used are:
>
> bootstrap
> pkg/mac/create-dmg.sh
> pkg/mac/debug-bundle.sh
>
> I didn't try to use the bootstrap script because I didn't clone from a
> git repository. The mac references I have no way to test because I
> don't have a mac.
>
> Thus, for the sake of portability, I suggest that the
> pgadmin/ver_svn.sh file be modified to use /bin/sh instead, since it
> uses only simple sh structures.

Thanks - I've push a fix for this to the master and 1.22 branches.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin III commit: Use /bin/sh rather than /bin/bash for portability.
Следующее
От: Ashesh Vashi
Дата:
Сообщение: Re: PATCH: Schema/Catalog Node [pgAdmin4]