Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 271061 Details for
Bug 315037
app-portage/gentoolkit-0.3.0_rc10-r1: euse fails when PORTDIR contains special characters
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Re-implement the previous patch against the new 0.3.0 euse
euse-315037.patch (text/plain), 1.18 KB, created by
Jared Hancock
on 2011-04-25 03:17:27 UTC
(
hide
)
Description:
Re-implement the previous patch against the new 0.3.0 euse
Filename:
MIME Type:
Creator:
Jared Hancock
Created:
2011-04-25 03:17:27 UTC
Size:
1.18 KB
patch
obsolete
>--- /usr/bin/euse 2011-04-03 20:50:50.000000000 -0500 >+++ euse-315037 2011-04-03 21:36:37.000000000 -0500 >@@ -432,6 +432,7 @@ > # Function: traverse_profile {{{ > # General method of collecting the contents of a profile > # component by traversing through the cascading profile >+# Bug 315037: Handle special characters in profile path(s) > # > # Arguments: > # $1 - Filename (make.profile) >@@ -441,18 +442,18 @@ > local parent > local rvalue="" > >- curdir="${2:-$(get_real_path ${MAKE_PROFILE_PATH})}" >+ curdir="${2:-$(get_real_path "${MAKE_PROFILE_PATH}")}" > > [[ -f "${curdir}/${1}" ]] && rvalue="${curdir}/${1} ${rvalue}" > if [[ -f "${curdir}/parent" ]]; then >- for parent in $(egrep -v '(^#|^ *$)' ${curdir}/parent); do >+ for parent in $(egrep -v '(^#|^ *$)' "${curdir}"/parent); do > # Bug 231394, handle parent path being absolute > if [[ ${parent:0:1} == "/" ]]; then >- pdir="$(get_real_path ${parent})" >+ pdir="$(get_real_path "${parent}")" > else >- pdir="$(get_real_path ${curdir}/${parent})" >+ pdir="$(get_real_path "${curdir}/${parent}")" > fi >- rvalue="$(traverse_profile ${1} ${pdir}) ${rvalue}" >+ rvalue="$(traverse_profile "${1}" "${pdir}") ${rvalue}" > done > fi >
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 315037
:
227649
| 271061