Source: eficas
Version: 6.4.0-1-1.1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that eficas could not be built reproducibly.
It uses the shell-builtin 'echo' which behaves differently depending on
the used shell.

The attached patch fixes this by using printf instead.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules
index 67b8cdb..8fdb109 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,7 @@ DEB_PYTHON_INSTALL_ARGS_ALL += --no-compile \
 	--install-lib=/usr/share/pyshared
 
 build/eficas::
-	echo '#!/bin/sh\npython /usr/share/pyshared/Aster/qtEficas_aster.py $$*\n' > eficasQt
+	printf '#!/bin/sh\npython /usr/share/pyshared/Aster/qtEficas_aster.py $$*\n' > eficasQt
 	
 install/eficas::
 # Configuration

Attachment: signature.asc
Description: PGP signature

Reply via email to