From: fuzzyray Date: Mon, 16 Feb 2009 20:07:03 +0000 (-0000) Subject: Fix 'Use of uninitialized value' error when processing modified ebuilds X-Git-Tag: gentoolkit-0.2.4.3^2~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c52b34647b8092454d0ea974ab52f45dda246d61;p=gentoolkit.git Fix 'Use of uninitialized value' error when processing modified ebuilds svn path=/; revision=546 --- diff --git a/trunk/src/echangelog/echangelog b/trunk/src/echangelog/echangelog index a1494e2..524b01c 100755 --- a/trunk/src/echangelog/echangelog +++ b/trunk/src/echangelog/echangelog @@ -319,8 +319,8 @@ if (@ebuilds) { # git format: diff --git a/app-doc/repodoc/metadata.xml b/app-doc/repodoc/metadata.xml elsif (/$vcs{$vcs}{regex}/) { my $f; - if ($vcs eq "git") { ($f) = ($1); + if ($vcs eq "git") { my $version = ($2); while () { last if /^deleted file mode|^index/; @@ -329,8 +329,6 @@ if (@ebuilds) { last; } } - } else { - ($f) = ($2); } # check if more than just copyright date changed.