Package: mldonkey-server Severity: minor Version: 3.0.0-2 User: [email protected] 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/mldonkey-server/distrib/make_buginfo > line 24 (should be >word 2>&1): > uname -a &> buginfo/uname > possible bashism in ./usr/share/doc/mldonkey-server/distrib/make_buginfo > line 25 (should be >word 2>&1): > df &> buginfo/df > possible bashism in ./usr/share/doc/mldonkey-server/distrib/make_buginfo > line 26 (should be >word 2>&1): > (ls -lR; df .) &> buginfo/mldonkey.directory > possible bashism in ./usr/share/doc/mldonkey-server/distrib/make_buginfo > line 27 (should be >word 2>&1): > (cd incoming; ls -lR; df .) &> buginfo/incoming.directory > possible bashism in ./usr/share/doc/mldonkey-server/distrib/make_buginfo > line 28 (should be >word 2>&1): > (cd temp; ls -lR; df .) &> buginfo/temp.directory > possible bashism in ./usr/share/doc/mldonkey-server/distrib/make_buginfo > line 29 (should be >word 2>&1): > (cd torrents; ls -lR; df .) &> buginfo/torrents.directory > possible bashism in ./usr/share/doc/mldonkey-server/distrib/make_buginfo > line 30 (should be >word 2>&1): > id &> buginfo/id > possible bashism in ./usr/share/doc/mldonkey-server/distrib/make_buginfo > line 31 (should be >word 2>&1): > ifconfig &> buginfo/computer 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 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

