bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#535867: gettext-doc: bashism in /bin/sh script (fwd)


From: Bruno Haible
Subject: Re: Bug#535867: gettext-doc: bashism in /bin/sh script (fwd)
Date: Mon, 27 Jul 2009 22:56:32 +0200
User-agent: KMail/1.9.9

Raphael Geissert wrote:
> While performing an archive wide checkbashisms (from the 'devscripts' package)
> check I've found your package containing a /bin/sh script making use
> of a bashism.
> 
> checkbashisms' output:
> > possible bashism in
> > ./usr/share/doc/gettext-doc/examples/hello-c++-kde/admin/cvs.sh line 426
> > (echo -e):
> >       echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_:
> > EMAIL OF TRANSLATORS\\n"\n"Your emails")' > _translatorinfo.cpp

This code is never used: It is in function package_messages(), which is only
invoked when cvs.sh is run with argument 'package_messages' or 
'package-messages'
or 'package.messages'. The only use of it is in Makefile.am's target
'package-messages', which is never used.

> > possible bashism in
> > ./usr/share/doc/gettext-doc/examples/build-aux/csharpcomp.sh.in line 58
> > ($RANDOM):
> >     tmp=$TMPDIR/gt$$-$RANDOM

Same answer as in [1].

Bruno

[1] http://lists.gnu.org/archive/html/bug-gnu-utils/2009-07/msg00036.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]