[Reproducible-commits] [dpkg] 19/54: Dpkg::Arch: Handle an undef architecture argument in debarch_to_debtriplet()
Mattia Rizzolo
mattia at debian.org
Fri Jan 15 18:54:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch pu/reproducible_builds
in repository dpkg.
commit fd4f223dd179917ca0d7d800660e53b969c46c84
Author: Guillem Jover <guillem at debian.org>
Date: Thu Nov 12 23:02:39 2015 +0100
Dpkg::Arch: Handle an undef architecture argument in debarch_to_debtriplet()
---
scripts/Dpkg/Arch.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/Dpkg/Arch.pm b/scripts/Dpkg/Arch.pm
index eed353e..6afe59f 100644
--- a/scripts/Dpkg/Arch.pm
+++ b/scripts/Dpkg/Arch.pm
@@ -379,6 +379,8 @@ sub debarch_to_debtriplet($)
{
my $arch = shift;
+ return if not defined $arch;
+
read_triplettable();
if ($arch =~ /^linux-([^-]*)/) {
--
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