Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 373024 Details for
Bug 504118
sys-devel/gcc-config: gcc-config should not source functions.sh from /etc/init.d
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-Don-t-use-functions.sh-from-etc-init.d-anymore-bug-5.patch
0001-Don-t-use-functions.sh-from-etc-init.d-anymore-bug-5.patch (text/plain), 1.08 KB, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2014-03-19 13:37:05 UTC
(
hide
)
Description:
0001-Don-t-use-functions.sh-from-etc-init.d-anymore-bug-5.patch
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2014-03-19 13:37:05 UTC
Size:
1.08 KB
patch
obsolete
>From e878ca0fd4ab52eedb58cab35dba2eb142daa360 Mon Sep 17 00:00:00 2001 >From: Lars Wendler <polynomial-c@gentoo.org> >Date: Wed, 19 Mar 2014 14:34:40 +0100 >Subject: [PATCH] Don't use functions.sh from /etc/init.d anymore (bug > #504118). Use "echo -e" for colored output. > >Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> >--- > gcc-config | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/gcc-config b/gcc-config >index 8d2347f..6315517 100755 >--- a/gcc-config >+++ b/gcc-config >@@ -18,8 +18,9 @@ cd / > trap ":" INT QUIT TSTP > > argv0=${0##*/} >-source "${EPREFIX}"/etc/init.d/functions.sh || { >- echo "${argv0}: Could not source ${EPREFIX}/etc/init.d/functions.sh!" 1>&2 >+functions_script="/lib/gentoo/functions.sh" >+source "${EPREFIX}"${functions_script} || { >+ echo "${argv0}: Could not source ${EPREFIX}${functions_script}!" 1>&2 > exit 1 > } > esyslog() { :; } >@@ -791,7 +792,7 @@ list_profiles() { > source "${GCC_ENV_D}/config-${target}" > [[ ${x} == ${CURRENT} ]] && x="${x} ${HILITE}*${NORMAL}" > fi >- echo " [${i}] ${x}" >+ echo -e " [${i}] ${x}" > done > } > >-- >1.9.1 >
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 504118
:
372350
| 373024