[Pkg-xfce-devel] Bug#772397: xfce4-session: bashism in /bin/sh script

Raphael Geissert atomo64 at gmail.com
Sat Dec 6 13:57:44 UTC 2014

Package: xfce4-session
Severity: important
Version: 4.10.1-9
User: debian-release at lists.debian.org
Usertags: goal-dash


I've ran checkbashisms (from the 'devscripts' package) over the whole
archive and I found that your package has a /bin/sh script that uses a

checkbashisms' output:
> possible bashism in ./usr/bin/startxfce4 line 27 (should be 'b = a'):
>     if test "x$OPT" == "x--help"
> possible bashism in ./usr/bin/startxfce4 line 40 (should be 'b = a'):
>     elif test "x$OPT" == "x--with-ck-launch"

Not using bash (or a Debian Policy compliant shell interpreter that doesn't
provide such an extra feature) as /bin/sh is likely to lead to errors or
unexpected behaviours. Please be aware that dash is the default /bin/sh.

Please closely examine the above output and the script, and determine
what the proper severity of the bug is, and adjust it accordingly. If
it's important or greater please hurry to get this fixed for jessie.

Hints about how to fix bashisms can be found at:

Thanks in advance,
Raphael Geissert

More information about the Pkg-xfce-devel mailing list