[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#343354: gettext-base: gettext.sh can't be sourced from zsh using
From: |
Stepan Kasal |
Subject: |
Re: Bug#343354: gettext-base: gettext.sh can't be sourced from zsh using the default zsh options (fwd) |
Date: |
Wed, 4 Jan 2006 16:21:10 +0100 |
User-agent: |
Mutt/1.4.1i |
Happy new year, Bruno,
On Mon, Dec 19, 2005 at 01:34:11PM +0100, Bruno Haible wrote:
> + if test -z "$ZSH_VERSION"; then
> + # zsh is not POSIX compliant: By default, while ". gettext.sh" is
> executed,
> + # it sets $0 to "gettext.sh", defeating the purpose of this test. But
> + # fortunately we know that when running under zsh, this script is always
> + # being sourced, not executed, because hardly anyone is crazy enough to
> + # install zsh as /bin/sh.
the Autoconf manual says:
Zsh 3.0.8 is the native `sh' on Mac OS X 10.0.3.
advicing:
[...] By default `zsh' is _not_ compatible with
the Bourne shell: you must execute `emulate sh', and for `zsh'
versions before 3.1.6-dev-18 you must also set `NULLCMD' to `:'.
*Note Compatibility: (zsh)Compatibility, for details.
Have a nice day,
Stepan
- Re: Bug#343354: gettext-base: gettext.sh can't be sourced from zsh using the default zsh options (fwd),
Stepan Kasal <=