summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 926ac25..6f02ed0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,12 @@ override_dh_installchangelogs:
override_dh_auto_install:
dh_auto_install
sed -i '1s:.*:#!/usr/bin/python3:' debian/src/usr/bin/src
+ # I have rather vague understanding, what `master_encoding' is,
+ # but using any encoding but "utf-8" looks suspicios. Actually,
+ # with master_encoding, provided by upstream, I get garbled
+ # output when trying to write commit message in non-english
+ # language. Hope it will not break anything else.
+ sed -i '/^master_encoding/s:.*:master_encoding = "utf-8":' src
# Test suite requires working git installation, with user.email and
# user.name set. It is quite complicated to set up on buildd.