Allow building of the package when non-ASCII characters are in the path
authorAfif Elghraoui <afif@ghraoui.name>
Mon, 8 Jun 2015 08:19:03 +0000 (01:19 -0700)
committerAfif Elghraoui <afif@ghraoui.name>
Mon, 8 Jun 2015 08:19:03 +0000 (01:19 -0700)
Setting LC_ALL to C.UTF-8 prevents an error coming up when a
directory along the path has non-ASCII characters.

debian/rules

index 07f2d1db7343d1973309ebd8e0184a7c891aab16..b4a9c492fab2c03f5b1b2f2111954ac56d3006fa 100755 (executable)
@@ -11,7 +11,7 @@ export HTSLIB_INCLUDE_DIR=/usr/include
 # DEB_BUILD_OPTIONS := nocheck
 
 %:
-       dh $@ --with python2,python3 --buildsystem=pybuild
+       LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_clean:
        dh_auto_clean