git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a324d2b
)
Don't eat KRB5CCNAME.
author
Iain Patterson
<me@iain.cx>
Thu, 27 Oct 2011 09:51:30 +0000
(10:51 +0100)
committer
Iain Patterson
<me@iain.cx>
Thu, 27 Oct 2011 09:54:05 +0000
(10:54 +0100)
.profile.d/krb5.bashrc
patch
|
blob
|
history
diff --git
a/.profile.d/krb5.bashrc
b/.profile.d/krb5.bashrc
index
477dc3f
..
2ca4337
100644
(file)
--- a/
.profile.d/krb5.bashrc
+++ b/
.profile.d/krb5.bashrc
@@
-87,5
+87,6
@@
fi
unset cache ccname default ng
function kinit() {
- ( builtin cd /; exec -c kinit ${1+"$@"} )
+ [ -n "$KRB5CCNAME" ] && krb5ccname="env KRB5CCNAME=$KRB5CCNAME"
+ ( builtin cd /; exec -c $krb5ccname kinit ${1+"$@"} )
}