Skip to content

Commit

Permalink
debian/rules: Pass LC_ALL=C.UTF-8 to dh_auto_build to ensure UTF-8 en…
Browse files Browse the repository at this point in the history
…coding on generated files.
  • Loading branch information
vagrantc authored and Mrfai committed Sep 26, 2020
1 parent 310f7a8 commit 032c50e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ export FORCE_SOURCE_DATE=1
%:
dh $@

override_dh_auto_build:
# Force UTF-8 locale to ensure UTF-8 file encoding for generated files
LC_ALL=C.UTF-8 dh_auto_build

override_dh_installdocs:
dh_installdocs -Nfai-server -Nfai-quickstart
sed -i 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' debian/fai-client/usr/share/doc/fai-client/README
Expand Down

0 comments on commit 032c50e

Please sign in to comment.