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

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



Package: xfce4-settings
Severity: normal
Version: 4.10.1-2
User: debian-release at lists.debian.org
Usertags: goal-dash
Tags: security

Hi,

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
"bashism".

checkbashisms' output:
> possible bashism in
> ./usr/lib/i386-linux-gnu/xfce4/settings/appearance-install-theme line 105
> ($RANDOM):
>     tmpdir="/tmp/tmp.$$.$RANDOM"


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:
https://wiki.ubuntu.com/DashAsBinSh

Thanks in advance,
Raphael Geissert




Reply to: