Bug#581146: vdr-plugin-streamdev-server: bashism in /bin/sh script
Raphael Geissert
atomo64 at gmail.com
Tue May 11 06:17:26 UTC 2010
Package: vdr-plugin-streamdev-server
Severity: minor
Version: 0.5.0~pre20090706+cvs20091108.2341-3
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
> ./usr/share/doc/vdr-plugin-streamdev-server/examples/externremux.sh line 14
> ($RANDOM):
> TMP=/tmp/externremux-${RANDOM:-$$}
> possible bashism in
> ./usr/share/doc/vdr-plugin-streamdev-server/examples/externremux.sh line 25
> (should be >word 2>&1):
> -o $TMP/out.avi -- - &>$TMP/out.log ;;
> possible bashism in
> ./usr/share/doc/vdr-plugin-streamdev-server/examples/externremux.sh line 28
> (should be >word 2>&1):
> -o $TMP/out.avi -- - &>$TMP/out.log ;;
> possible bashism in
> ./usr/share/doc/vdr-plugin-streamdev-server/examples/externremux.sh line 31
> (should be >word 2>&1):
> -o $TMP/out.avi -- - &>$TMP/out.log ;;
> possible bashism in
> ./usr/share/doc/vdr-plugin-streamdev-server/examples/externremux.sh line 34
> (should be >word 2>&1):
> -o $TMP/out.avi -- - &>$TMP/out.log ;;
> possible bashism in
> ./usr/share/doc/vdr-plugin-streamdev-server/examples/externremux.sh line 37
> (should be >word 2>&1):
> -o $TMP/out.avi -- - &>$TMP/out.log ;;
> possible bashism in
> ./usr/share/doc/vdr-plugin-streamdev-server/examples/externremux.sh line 40
> (should be >word 2>&1):
> -o $TMP/out.avi -- - &>$TMP/out.log ;;
> possible bashism in
> ./usr/share/doc/vdr-plugin-streamdev-server/examples/externremux.sh line 43
> (should be >word 2>&1):
> -o $TMP/out.avi -- - &>$TMP/out.log ;;
> possible bashism in
> ./usr/share/doc/vdr-plugin-streamdev-server/examples/externremux.sh line 46
> (should be >word 2>&1):
> -o $TMP/out.avi -- - &>$TMP/out.log ;;
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 now the default /bin/sh.
Hints about how to fix bashisms can be found at:
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'.
Thank you,
Raphael Geissert
More information about the pkg-vdr-dvb-devel
mailing list