summaryrefslogtreecommitdiff
path: root/dh_builddeb
diff options
context:
space:
mode:
Diffstat (limited to 'dh_builddeb')
-rwxr-xr-xdh_builddeb7
1 files changed, 4 insertions, 3 deletions
diff --git a/dh_builddeb b/dh_builddeb
index 3d3725ac..795d9a0a 100755
--- a/dh_builddeb
+++ b/dh_builddeb
@@ -2,6 +2,7 @@
#
# Build the .deb package, assuming all the files are set up.
+use strict;
use Debian::Debhelper::Dh_Lib;
init();
@@ -17,7 +18,7 @@ else {
$dh{FILENAME}="/$dh{FILENAME}";
}
-foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
- $TMP=tmpdir($PACKAGE);
- doit("dpkg","--build",$TMP,"$dh{DESTDIR}$dh{FILENAME}",@{$dh{U_PARAMS}});
+foreach my $package (@{$dh{DOPACKAGES}}) {
+ my $tmp=tmpdir($package);
+ doit("dpkg","--build",$tmp,"$dh{DESTDIR}$dh{FILENAME}",@{$dh{U_PARAMS}});
}