diff options
author | Modestas Vainius <modax@debian.org> | 2011-06-19 22:05:08 +0300 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-06-19 17:59:38 -0400 |
commit | 1722a1bcfed9558cc438f3c0a1b9e024b46986cc (patch) | |
tree | 8ee7ea788fa4a3f407a2b93b8633820bda590a24 /Debian/Debhelper/Dh_Lib.pm | |
parent | e257e0f4b8fdf1054431d52bdf2776f7b80bef30 (diff) |
In the unlikely case Dpkg::BuildFlags fails, don't do anything.
Diffstat (limited to 'Debian/Debhelper/Dh_Lib.pm')
-rw-r--r-- | Debian/Debhelper/Dh_Lib.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 0c779d1f..174970b0 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -910,6 +910,7 @@ sub set_buildflags { eval "use Dpkg::BuildFlags"; if ($@) { warning "unable to load build flags: $@"; + return; } my $buildflags = Dpkg::BuildFlags->new(); |