[debhelper-devel] [debhelper] 08/10: dh_icons: output icon list in a stable order

Niels Thykier nthykier at moszumanska.debian.org
Thu Jan 1 17:12:02 UTC 2015


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

nthykier pushed a commit to branch master
in repository debhelper.

commit 8b2e8a7878a945b26dd9a5b227c2c9992cda0c00
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.
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 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/debhelper/debhelper.git




More information about the debhelper-devel mailing list