Package: html2text
Version: 1.3.2a-13
Severity: normal
Tags: patch

Hello,

there is a bashism in debian/tests/runtests which makes this package
FTBFS on systems where /bin/sh is dash (e.g. Ubuntu).
Here is the relevant log from an Ubuntu build:

cd debian/tests/ && sh runtests
runtests: 7: function: not found

Attached is a patch which fixes this.

Regards
Michael
diff -u html2text-1.3.2a/debian/tests/runtests 
html2text-1.3.2a/debian/tests/runtests
--- html2text-1.3.2a/debian/tests/runtests
+++ html2text-1.3.2a/debian/tests/runtests
@@ -4,7 +4,7 @@
 
 # $1 - html file name
 # $2 - html2text param
-function check
+check()
 {
        ../../html2text $2 $1 > $1.result
        cmp $1.result $1.supposed

Reply via email to