Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 94860 Details for
Bug 139629
eselect compiler needs to depend on mktemp! nasty loop!
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove use of mktemp from eselect module
compiler.eselect-nomktemp.patch (text/plain), 729 bytes, created by
Kevin F. Quinn (RETIRED)
on 2006-08-22 06:06:45 UTC
(
hide
)
Description:
Remove use of mktemp from eselect module
Filename:
MIME Type:
Creator:
Kevin F. Quinn (RETIRED)
Created:
2006-08-22 06:06:45 UTC
Size:
729 bytes
patch
obsolete
>Index: compiler.eselect.in >=================================================================== >--- compiler.eselect.in (revision 298) >+++ compiler.eselect.in (working copy) >@@ -27,14 +27,15 @@ > ### Helpers ### > > eval_pm() { >- local tmp=$(mktemp -t tmp.XXXXXX) >- local retval >- >- ${PROFILE_MANAGER} --config-dir="${CONFIG_D}" "${@}" > ${tmp} >- retval=${?} >- source ${tmp} >- rm -f ${tmp} >- return ${retval} >+ while read line; do >+ [[ ${line} =~ "^profile-manager error:" ]] && >+ die "${line}" >+ [[ ${line} =~ "^[A-Za-z0-9_]*=" ]] || >+ die "Unexpected result from profile-manager: ${line}" >+ export "${line//\"}" >+ done <<-EOF >+ $(${PROFILE_MANAGER} --config-dir="${CONFIG_D}" "${@}" 2>&1) >+ EOF > } > > list_all_profiles() {
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 139629
: 94860