summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2009-02-16 20:07:03 +0000
committerfuzzyray <fuzzyray@gentoo.org>2009-02-16 20:07:03 +0000
commitc52b34647b8092454d0ea974ab52f45dda246d61 (patch)
tree5f26d90b49159cb37223bb89a8e5c059d48e7d2a
parent6da3566d16454b62721def8b8181ea9ea01d8e18 (diff)
downloadgentoolkit-c52b34647b8092454d0ea974ab52f45dda246d61.tar.gz
Fix 'Use of uninitialized value' error when processing modified ebuilds
svn path=/; revision=546
-rwxr-xr-xtrunk/src/echangelog/echangelog4
1 files changed, 1 insertions, 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 (<C>) {
last if /^deleted file mode|^index/;
@@ -329,8 +329,6 @@ if (@ebuilds) {
last;
}
}
- } else {
- ($f) = ($2);
}
# check if more than just copyright date changed.