Globally use C.UTF-8 locale
authorAfif Elghraoui <afif@debian.org>
Sun, 19 Jun 2016 21:30:23 +0000 (14:30 -0700)
committerAfif Elghraoui <afif@debian.org>
Sun, 19 Jun 2016 21:30:23 +0000 (14:30 -0700)
debian/rules

index 772305dae9449ffa67f0a7c6f4165910a7767ad7..877f34bcde1592eba6ae225215e9f896e1adbdb6 100755 (executable)
@@ -3,6 +3,7 @@
 include /usr/share/dpkg/default.mk
 
 export PYBUILD_NAME=pysam
+export LC_ALL = C.UTF-8
 
 TESTPKG    := $(DEB_SOURCE)-tests
 
@@ -18,7 +19,7 @@ export PYBUILD_TEST_ARGS={dir}/tests
 
 clean: clean-tests
 %:
-       LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild
+       dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_configure:
        dh_auto_configure