Source: rows
Version: 0.1.1-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that rows could not be built reproducibly when using a non-UTF8 locale.

The attached patch fixes this by telling grep to treat the input as
text.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/manpage/genallman.sh b/debian/manpage/genallman.sh
index fff3a9f..8232214 100755
--- a/debian/manpage/genallman.sh
+++ b/debian/manpage/genallman.sh
@@ -26,5 +26,5 @@ do
     LEVEL=$(head -n1 $NAME | cut -d'"' -f2 )
     MAN=$(echo ${NAME%%.txt})
     head -n1 $NAME > $MAN.$LEVEL
-    txt2man $NAME | grep -v '^.TH ' >> $MAN.$LEVEL
+    txt2man $NAME | grep -a -v '^.TH ' >> $MAN.$LEVEL
 done

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to