Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 264731 Details for
Bug 357297
A space in the path to an ebuild causes failure when running 'ebuild' command
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
portage-2.1.9.42: quote overlays containing spaces
overlay-spaces-2.1.9.42.patch (text/plain), 985 bytes, created by
Zac Medico
on 2011-03-04 16:16:48 UTC
(
hide
)
Description:
portage-2.1.9.42: quote overlays containing spaces
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2011-03-04 16:16:48 UTC
Size:
985 bytes
patch
obsolete
>From c3345aaff4ea65f179572a89bfb37445cc2623de Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Fri, 4 Mar 2011 08:13:46 -0800 >Subject: [PATCH] config: quote overlays containing spaces > >This will fix bug #357297. >--- > pym/portage/package/ebuild/config.py | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py >index b63cff1..738b8ab 100644 >--- a/pym/portage/package/ebuild/config.py >+++ b/pym/portage/package/ebuild/config.py >@@ -506,10 +506,13 @@ class config(object): > > overlays = shlex_split(self.get('PORTDIR_OVERLAY', '')) > if overlays: >+ whitespace_re = re.compile(r"\s") > new_ov = [] > for ov in overlays: > ov = normalize_path(ov) > if os.path.isdir(ov): >+ if whitespace_re.search(ov) is not None: >+ ov = portage._shell_quote(ov) > new_ov.append(ov) > else: > writemsg(_("!!! Invalid PORTDIR_OVERLAY" >-- >1.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 357297
:
264715
| 264731