Your message dated Sun, 16 May 2010 12:37:12 +0200 (CEST)
with message-id <alpine.deb.1.10.1005161235180.1...@cantor.unex.es>
and subject line Re: Bug#535867: gettext-doc: bashism in /bin/sh script (fwd)
has caused the Debian Bug report #535867,
regarding gettext-doc: bashism in /bin/sh script
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
535867: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535867
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gettext-doc
Severity: minor
Version: 0.17-6
User: debian-rele...@lists.debian.org
Usertags: goal-dash
Hello maintainer,
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
> possible bashism in
> ./usr/share/doc/gettext-doc/examples/build-aux/csharpcomp.sh.in line 58
> ($RANDOM):
> tmp=$TMPDIR/gt$$-$RANDOM
Not using bash (or a Debian Policy conformant shell interpreter which doesn't
provide such an extra feature) as /bin/sh is likely to lead to errors or
unexpected behaviours.
Please be aware that although bash is currently the default /bin/sh there was
a release goal for Lenny to make dash the default /bin/sh[1], and has been
proposed for squeeze as well[2][3].
If you want more information about dash as /bin/sh, you can read:
http://lists.debian.org/debian-release/2008/01/msg00189.html
For more information supporting this goal please refer to Debian Policy,
section 10.4, at:
http://www.debian.org/doc/debian-policy/ch-files.html#s-scripts
Hints about how to fix bashisms:
Sometimes these bugs are already fixed in Ubuntu, look at the PTS.
If not already fixed you can read:
https://wiki.ubuntu.com/DashAsBinSh
If you still don't know how to fix the bashisms don't hesitate to reply to
this email, or tag the bug as 'help'.
[1]http://release.debian.org/lenny/goals.txt
[2]http://lists.debian.org/debian-release/2009/04/msg00133.html
[3]http://lists.debian.org/debian-devel/2009/06/msg00767.html
Thank you,
Raphael Geissert
--- End Message ---
--- Begin Message ---
On Mon, 27 Jul 2009, Bruno Haible wrote:
> 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
So, there is really nothing that needs to be changed here.
Closing then.
--- End Message ---