Bug#772400: yate-scripts: bashism in /bin/sh script

Paul Chitescu paulc at voip.null.ro
Tue Dec 16 09:43:09 UTC 2014


Hi!

The attached patch is now included in Yate rev. 5927 and can be applied to 
earlier versions.

Log message:
Fix bashishm (automatic use of REPLY in read) in shell scripts.
Make sure backslash is not used as escape in shell reads.

Regards,

Paul


On Sat Dec 6, 2014 15:56:28 Raphael Geissert wrote:
> Package: yate-scripts
> Severity: important
> Version: 5.4.0-1-1
> User: debian-release at lists.debian.org
> Usertags: goal-dash
>
> 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/share/yate/scripts/echo.sh line 29 (read
> > without variable):
> > read
>
> 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
>
> _______________________________________________
> Pkg-voip-maintainers mailing list
> Pkg-voip-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-voip-maintainer
>s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: yate-r5927.patch
Type: text/x-patch
Size: 1789 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20141216/c215b140/attachment-0002.bin>


More information about the Pkg-voip-maintainers mailing list