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

Bug#530200: marked as done (texlive-lang-french: bashism in /bin/sh script)



Your message dated Mon, 24 Jul 2017 08:50:56 +0900
with message-id <[🔎] 20170723235056.jsj5qb7a3ptjwhov@bulldog.preining.info>
and subject line Closing this bug
has caused the Debian Bug report #530200,
regarding texlive-lang-french: 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 owner@bugs.debian.org
immediately.)


-- 
530200: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530200
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: texlive-lang-french
Severity: important
Version: 2007.dfsg.4-2
User: debian-release@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/texlive-lang-french/latex/tabvar/install-tabvar.sh line 14
> (should be 'b = a'):
> if [ "x$INSTDIR" == "x" ]; then
> possible bashism in
> ./usr/share/doc/texlive-lang-french/latex/tabvar/install-tabvar.sh line 17
> (should be 'b = a'):
> if [ "x$INSTDIR" == "x" ]; then
> possible bashism in
> ./usr/share/doc/texlive-lang-french/latex/tabvar/install-tabvar.sh line 34
> (should be 'b = a'):
> if [ "x$map" == "x" ]; then
> possible bashism in ./usr/share/texmf-texlive/tex/generic/hyphen/bahyph.sh
> line 155 (unsafe echo with backslash):
>	  echo "\catcode\`'=12 \lccode\`'=\`'"
> possible bashism in ./usr/share/texmf-texlive/tex/generic/hyphen/bahyph.sh
> line 159 (unsafe echo with backslash):
>	  echo "\catcode\`~=12 \lccode\`~=\`~"


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].

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

Thank you,
Raphael Geissert



--- End Message ---
--- Begin Message ---
Having sh/bash files in the doc hierarchy I consider irrelevant.
Furthermore, all the mentioned files are not present anymore.

Thus, closing this bug.

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

--- End Message ---

Reply to: