[debhelper-devel] [debhelper] 01/01: dh_installinit: Fix uninitialized value warning when --name is used.
Joey Hess
joey at kitenet.net
Sat May 24 17:34:34 UTC 2014
This is an automated email from the git hooks/post-receive script.
joeyh pushed a commit to branch master
in repository debhelper.
commit 6975a4c505014634cf0d5f39262f366a9a64f065
Author: Joey Hess <joey at kitenet.net>
Date: Sat May 24 13:33:45 2014 -0400
dh_installinit: Fix uninitialized value warning when --name is used.
---
debian/changelog | 1 +
dh_installinit | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index e367c15..a93c8b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
debhelper (9.20140229) UNRELEASED; urgency=medium
* Minor typos. Closes: #741144, #744176
+ * dh_installinit: Fix uninitialized value warning when --name is used.
-- Joey Hess <joeyh at debian.org> Mon, 10 Mar 2014 12:39:21 -0400
diff --git a/dh_installinit b/dh_installinit
index 1926e9f..0944d30 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list