[vdr] 03/08: Force sorting of files in dh_vdrplugin_enable to get a reproducible build

Tobias Grimm tiber-guest at moszumanska.debian.org
Sat Oct 10 11:05:25 UTC 2015


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

tiber-guest pushed a commit to branch master
in repository vdr.

commit 3521cfd02e0fb5400cdf87a922113500fbabea49
Author: Tobias Grimm <etobi at debian.org>
Date:   Mon Oct 5 19:51:48 2015 +0200

    Force sorting of files in dh_vdrplugin_enable to get a reproducible build
---
 debian/dh-addon-vdrplugin/dh_vdrplugin_enable | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/dh-addon-vdrplugin/dh_vdrplugin_enable b/debian/dh-addon-vdrplugin/dh_vdrplugin_enable
index d0467ab..a0a29f4 100755
--- a/debian/dh-addon-vdrplugin/dh_vdrplugin_enable
+++ b/debian/dh-addon-vdrplugin/dh_vdrplugin_enable
@@ -160,7 +160,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
   #
   # Now pass the configs to be symlinked to the postinst/postrm templates
   #
-  my @enabled_configs = grep { looks_like_number($config_files{$_}) } (keys %config_files);
+  my @enabled_configs = grep { looks_like_number($config_files{$_}) } (sort keys %config_files);
   if (@enabled_configs) {
     my $configs = join(' ', map { (basename($_), $config_files{$_}) } (@enabled_configs));
     autoscript($package, "preinst", "preinst-vdrplugin-enable", "s/#PKGNAME#/$package/; s/#ENABLEDCONFIGS#/$configs/");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/vdr.git



More information about the pkg-vdr-dvb-changes mailing list