Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 84780 Details for
Bug 130120
missing function in default-linux/amd64/profile.bashrc causes multiple bash errors
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
profile.bashrc-fix-undefined-command.patch
profile.bashrc-fix-undefined-command.patch (text/plain), 889 bytes, created by
Patrick McLean
on 2006-04-16 08:26:56 UTC
(
hide
)
Description:
profile.bashrc-fix-undefined-command.patch
Filename:
MIME Type:
Creator:
Patrick McLean
Created:
2006-04-16 08:26:56 UTC
Size:
889 bytes
patch
obsolete
>Index: profile.bashrc >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/profiles/default-linux/amd64/profile.bashrc,v >retrieving revision 1.16 >diff -u -r1.16 profile.bashrc >--- profile.bashrc 15 Apr 2006 18:03:53 -0000 1.16 >+++ profile.bashrc 16 Apr 2006 15:25:04 -0000 >@@ -60,6 +60,10 @@ > done > } > >+bashrc_has() { >+ [[ " ${*:2} " == *" $1 "* ]] >+} >+ > if [[ ${EBUILD_PHASE} == "setup" ]]; then > > filter_invalid_flags >@@ -67,11 +71,11 @@ > unset trigger > > for flag in "${BAD_FLAGS[@]}"; do >- if has ${flag} ${CFLAGS}; then >+ if bashrc_has ${flag} ${CFLAGS}; then > trigger=1 > ewarn "Your CFLAGS contain(s) \"${flag}\" which can break packages." > fi >- if has ${flag} ${CXXFLAGS}; then >+ if bashrc_has ${flag} ${CXXFLAGS}; then > trigger=1 > ewarn "Your CXXFLAGS contain(s) \"${flag}\" which can break packages." > 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 130120
: 84780