Source: dutch
Version: 1:2.10-3
Severity: wishlist
Tags: patch
Usertags: locale


Whilst working on the "reproducible builds" effort [0], we noticed that
dutch could not be built reproducibly.

This is caused by the call to grep in the "convert" script detecting
binary data under some locales and generating a file with (in LC_ALL=C)
"Binary file (standard input) matches" instead of the actual content.

The attached patch fixes this issue by passing "-a" to grep. Once
applied, dutch can be built reproducibly using our reproducible



     : :'  :     Chris Lamb
     `. `'` /
diff --git a/convert b/convert
index beea7b1..9351ad4 100644
--- a/convert
+++ b/convert
@@ -102,7 +102,7 @@ munchlist -l $ISPELL_AFF -v -w "&'\`-_" $LATIN1FIXEDLIST > 
 gzip -9nf $LATIN1ISPELL
 # aspell
-grep -v "[0-9 \.'\+]" $LATIN1FIXEDLIST > $LATIN1ASPELL.wl
+grep -av "[0-9 \.'\+]" $LATIN1FIXEDLIST > $LATIN1ASPELL.wl
 prezip $LATIN1ASPELL.wl
 gzip -9nf $LATIN1ASPELL.cwl
Reproducible-builds mailing list

Reply via email to