[Pkg-zsh-devel] Bug#772401: Bug#772401: zsh-common: bashism in /bin/sh script

Axel Beckert abe at debian.org
Sat Dec 6 15:26:12 UTC 2014


Hi,

Raphael Geissert wrote:
> Package: zsh-common
[...]
> I've ran checkbashisms (from the 'devscripts' package) over the whole
> archive and I found that your package has a /bin/sh script that uses a
> "bashism".

Well, I suspect it's more a zshism than a bashism. ;-)

> Not using bash (or a Debian Policy compliant shell interpreter that doesn't
> provide such an extra feature) as /bin/sh is likely to lead to errors or
> unexpected behaviours.

I suspect that the shebang line should be rather #!/bin/zsh given the
context of the script: converting csh stuff for zsh usage. :-)

I'll check the intented usage with upstream, i.e. if it should be
/bin/sh compatible or only used with zsh.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



More information about the Pkg-zsh-devel mailing list