Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211809 - app-portage/epm-1.33 fixes for prefix usage
Summary: app-portage/epm-1.33 fixes for prefix usage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: Highest enhancement
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 17:24 UTC by Stuart Shelton
Modified: 2008-02-28 19:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2008-02-28 17:24:52 UTC
$EPREFIX/usr/bin/epm
@14
     '(.+?)'.                                    # name
     '-(\d+(?:\.\d+)*\w*)'.                      # version, eg 1.23.4a
     '((?:(?:_alpha|_beta|_pre|_rc)\d*)?)'.      # special suffix
-    '((?:-r\d+)?)$';                            # revision, eg r12
+    '((?:-r\d+)?(?:\.\d+)?)$';                  # revision, eg r12
 my $root = '/';
 my %opt = (
     'dbpath' => \$dbpath,


@270
         die "CONFIG_PROTECT is empty" unless @CONFIG_PROTECT;
         my ($confprotre) = join '|', @CONFIG_PROTECT;
         @files = grep {
-            (split ' ', $_, 2)[1] =~ /^/opt/portage($confprotre)/o } @files;
+            (split ' ', $_, 2)[1] =~ m!^/opt/portage($confprotre)!o } @files;
     }
 
     # Trim @files if doc files requested
Comment 1 Fabian Groffen gentoo-dev 2008-02-28 19:18:48 UTC
thanks, I applied those!