Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 582712 Details for
Bug 819602
Include functions / use function to declare which in /etc/profile.d/which2.sh
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Adjust /etc/profile.d/which2.sh as the manpage recommends
which2.sh-function.patch (text/plain), 431 bytes, created by
Till Maas
on 2012-05-07 16:57:08 UTC
(
hide
)
Description:
Adjust /etc/profile.d/which2.sh as the manpage recommends
Filename:
MIME Type:
Creator:
Till Maas
Created:
2012-05-07 16:57:08 UTC
Size:
431 bytes
patch
obsolete
>diff --git a/which2.sh b/which2.sh >index 14ca09f..ea517c2 100644 >--- a/which2.sh >+++ b/which2.sh >@@ -1,4 +1,8 @@ > # Initialization script for bash and sh > > # export AFS if you are in AFS environment >-alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' >+which () >+{ >+ (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@" >+} >+export -f which
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 819602
: 582712