[Python-modules-team] Bug#535411: python-psutil: bashism in debian/rules

Raphael Geissert atomo64 at gmail.com
Thu Jul 2 01:10:58 UTC 2009

Source: python-psutil
Version: 0.1.2-1
Severity: important
User: debian-release at 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 python-psutil/rules line 9 (brace expansion):
>         for test in
> test/{dead_process.py,leak_test.py,test_memory_leaks.py,test_psutil.py} ;\

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

If you want more information about dash as /bin/sh, you can read:

For more information supporting this goal please refer to Debian Policy,
section 10.4, at:

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:

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


Thank you,
Raphael Geissert

More information about the Python-modules-team mailing list