[Reproducible-commits] [debhelper] 10/11: dh_icons: output icon list in a stable order

Jérémy Bobbio lunar at moszumanska.debian.org
Sun Dec 28 18:05:17 UTC 2014


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch pu/reproducible_builds
in repository debhelper.

commit 414e2af609ca975c502d5eb0cfd70a4f64fd0111
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Sun Dec 28 16:21:46 2014 +0000

    dh_icons: output icon list in a stable order
    
    We now sort the icon list in order to guarantee a stable output.
    This was preventing some packages to build reproducibly.
    
    Closes: #774102
---
 dh_icons | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dh_icons b/dh_icons
index 916f188..b506f1f 100755
--- a/dh_icons
+++ b/dh_icons
@@ -61,7 +61,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 			push @dirlist, "$baseicondir/$subdir" if $needs_cache;
 		}
 		if (@dirlist and ! $dh{NOSCRIPTS}) {
-			my $list=join(" ", @dirlist);
+			my $list=join(" ", sort @dirlist);
 			autoscript($package,"postinst","postinst-icons","s%#DIRLIST#%$list%");
 			autoscript($package,"postrm","postrm-icons","s%#DIRLIST#%$list%");
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git



More information about the Reproducible-commits mailing list