Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 344904 Details for
Bug 465180
python-utils-r1.eclass - python_optimize: correctly get a nice path without "//"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Correctly remove duplicate slashes in path
nicepath.patch (text/plain), 456 bytes, created by
Greg Turner
on 2013-04-09 00:31:20 UTC
(
hide
)
Description:
Correctly remove duplicate slashes in path
Filename:
MIME Type:
Creator:
Greg Turner
Created:
2013-04-09 00:31:20 UTC
Size:
456 bytes
patch
obsolete
>--- portage/eclass/python-utils-r1.eclass 2013-03-28 05:31:15.000000000 -0700 >+++ cygwin64-overlay/eclass/python-utils-r1.eclass 2013-04-08 17:06:56.958952000 -0700 >@@ -601,7 +601,10 @@ python_optimize() { > for d; do > # make sure to get a nice path without // > local instpath=${d#${D}} >- instpath=/${instpath##/} >+ while [[ ${instpath} == /* ]] ; do >+ instpath=${instpath#/} >+ done >+ instpath=/${instpath} > > case "${EPYTHON}" in > python*)
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 465180
:
344904
|
345468