Source: torrus
Version: 2.09-1
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: environment

While working on the “reproducible builds” effort [1], we have noticed
that torrus could not be built reproducibly.

The attached patch forces SHELL to be set to /bin/sh and not differ
depending on the current environment.
diff --git a/debian/rules b/debian/rules
index 0b56d69..21095b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,7 +39,9 @@ override_dh_auto_configure:
                --libdir=/usr/share/torrus/lib \
                --mandir=/usr/share/man \
                --enable-pkgonly \
-               --disable-varperm
+               --disable-varperm \
+               SHELL=/bin/sh \
+               CONFIG_SHELL=/bin/sh
 
 
 override_dh_auto_build:

Reply via email to