[Reproducible-commits] [dpkg] 07/40: Dpkg::BuildProfiles: Initialize $cache_profiles when setting them
Jérémy Bobbio
lunar at moszumanska.debian.org
Sat May 30 09:52:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds
in repository dpkg.
commit d633338e57d140b6273d11ef54a3f3823c229524
Author: Guillem Jover <guillem at debian.org>
Date: Fri May 29 07:34:18 2015 +0200
Dpkg::BuildProfiles: Initialize $cache_profiles when setting them
We should consider the value being cached when we set it manually.
---
scripts/Dpkg/BuildProfiles.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/Dpkg/BuildProfiles.pm b/scripts/Dpkg/BuildProfiles.pm
index 0cc9c80..9489f43 100644
--- a/scripts/Dpkg/BuildProfiles.pm
+++ b/scripts/Dpkg/BuildProfiles.pm
@@ -77,6 +77,7 @@ the environment variable B<DEB_BUILD_PROFILES>.
sub set_build_profiles {
my (@profiles) = @_;
+ $cache_profiles = 1;
@build_profiles = @profiles;
Dpkg::BuildEnv::set('DEB_BUILD_PROFILES', join ' ', @profiles);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list