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

Bug#465368: marked as done (texlive-base-bin: bashism in /bin/sh script)



Your message dated Tue, 12 Feb 2008 11:42:49 +0100
with message-id <20080212104249.GA24919@alea.gnuu.de>
and subject line Close bug, due to false positive
has caused the Debian Bug report #465368,
regarding texlive-base-bin: 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.)


-- 
465368: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465368
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: texlive-base-bin
Severity: important
Version: 2007.dfsg.1-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/bin/texconfig line 540 (let ...):
>         let myexit = primitive_end_;


Not using bash as /bin/sh would lead to errors or unexpected behaviours. 
Please be aware that although 
bash is currently the default /bin/sh there's a release goal for Lenny to 
make dash the default /bin/sh[1].

If you want more information about dash as /bin/sh, you can read:
http://lists.debian.org/debian-release/2008/01/msg00189.html
https://wiki.ubuntu.com/DashAsBinSh

[1]http://release.debian.org/lenny/goals.txt

Thank you,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



--- End Message ---
--- Begin Message ---
Hi,

your script caught a here document:

% sed -n 538,545p =texconfig
    cd $tmpdir
    cat >mftmp.mf <<-'eof'
        let myexit = primitive_end_;
        mode_setup;
        string xdpi;
        xdpi := decimal round pixels_per_inch;
        message "XDPI = " & xdpi;
        string ydpi;

The word let is not used as a shell command.

Bye, Jörg.
-- 
Im Leben lernt der Mensch als erstes das Gehen und Sprechen.
Später lernt er still zu sitzen und den Mund zu halten.

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: