summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Dh_Lib.pm
diff options
context:
space:
mode:
authorModestas Vainius <modax@debian.org>2011-06-19 22:05:08 +0300
committerJoey Hess <joey@kitenet.net>2011-06-19 17:59:38 -0400
commit1722a1bcfed9558cc438f3c0a1b9e024b46986cc (patch)
tree8ee7ea788fa4a3f407a2b93b8633820bda590a24 /Debian/Debhelper/Dh_Lib.pm
parente257e0f4b8fdf1054431d52bdf2776f7b80bef30 (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.pm1
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();