From c52b34647b8092454d0ea974ab52f45dda246d61 Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Mon, 16 Feb 2009 20:07:03 +0000 Subject: [PATCH] Fix 'Use of uninitialized value' error when processing modified ebuilds svn path=/; revision=546 --- trunk/src/echangelog/echangelog | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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. -- 2.26.2