summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-10-10 17:41:20 -0400
committerJoey Hess <joey@kitenet.net>2014-10-10 17:41:20 -0400
commit81a99fea20a6af55145c17a1d1fef6eb38619abc (patch)
tree6b1b79f95241e9977ce08ae10e21418758cae7b2
parent6335924e23789e43b4ebb45ba9f766a47ef25ff6 (diff)
avoid referring to $package in error message
Depending on control file field order, $package may not yet be populated.
-rw-r--r--Debian/Debhelper/Dh_Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index 971646f..0519d20 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -844,7 +844,7 @@ sub getpackages {
}
};
if ($@) {
- error("The package $package has a Build-Profiles field. Requires libdpkg-perl >= 1.17.14");
+ error("The control file has a Build-Profiles field. Requires libdpkg-perl >= 1.17.14");
}
}