From: fuzzyray Date: Tue, 11 Nov 2008 19:36:02 +0000 (-0000) Subject: Fix processing of virtual category (Bug 179530) X-Git-Tag: gentoolkit-0.2.4.3^2~36 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b3f8e5db24c5e85f9e62ccb825b0b86d7697b1c9;p=gentoolkit.git Fix processing of virtual category (Bug 179530) svn path=/; revision=520 --- diff --git a/trunk/ChangeLog b/trunk/ChangeLog index 6656598..349a992 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,5 +1,6 @@ 2008-11-11: Paul Varner * echangelog: Add --strict option (Bug 246242). + * echangelog: Fix processing of virtual category (Bug 179530) 2008-09-17: Paul Varner * euse: Fix check_sanity function to use get_all_make_defaults diff --git a/trunk/src/echangelog/echangelog b/trunk/src/echangelog/echangelog index f98fed5..3b64d21 100644 --- a/trunk/src/echangelog/echangelog +++ b/trunk/src/echangelog/echangelog @@ -75,7 +75,7 @@ if (-f 'ChangeLog') { { local $/ = undef; $text = ; } close I; my ($cwd) = getcwd(); - $cwd =~ m|.*/(\w+-\w+)/([^/]+)| + $cwd =~ m|.*/(\w+-\w+\|virtual)/([^/]+)| or die "Can't figure out category/package.. sorry!\n"; my ($category, $package_name) = ($1, $2); $text =~ s/^\*.*//ms; # don't need the fake entry