diff options
author | Joey Hess <joey@kitenet.net> | 2014-05-24 13:33:45 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-05-24 13:33:45 -0400 |
commit | 6975a4c505014634cf0d5f39262f366a9a64f065 (patch) | |
tree | 644cc05938d9a241b84fbd04fe628977b7b6a7f8 /dh_installinit | |
parent | 6b3faa61f1aa799bd48a2699b4a8771a89a104b4 (diff) |
dh_installinit: Fix uninitialized value warning when --name is used.
Diffstat (limited to 'dh_installinit')
-rwxr-xr-x | dh_installinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installinit b/dh_installinit index 1926e9fa..0944d306 100755 --- a/dh_installinit +++ b/dh_installinit @@ -165,7 +165,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { my $scriptsrc; my $jobfile=$package; if (defined $dh{NAME}) { - $jobfile=$script=$dh{NAME}; + $jobfile=$script=$scriptsrc=$dh{NAME}; } elsif ($dh{D_FLAG}) { # -d on the command line sets D_FLAG. We will |