sipb-www
/
snippets
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8de9cec
)
kdo: Add an emacs modeline, and make emacs happier with quoting.
author
Nelson Elhage
<nelhage@mit.edu>
Thu, 30 Apr 2009 03:25:32 +0000
(23:25 -0400)
committer
Nelson Elhage
<nelhage@mit.edu>
Thu, 30 Apr 2009 03:25:32 +0000
(23:25 -0400)
kerberos/kdo
patch
|
blob
|
history
diff --git
a/kerberos/kdo
b/kerberos/kdo
index b6a755c962f95959740a8a807ca23e6339ccd670..059612ebe75334a8f00779e8a18bb104a7e0ab17 100644
(file)
--- a/
kerberos/kdo
+++ b/
kerberos/kdo
@@
-1,3
+1,4
@@
+# -*- mode: sh -*-
# kdo is a shell function for interacting with multiple Kerberos
# credential caches.
#
@@
-48,6
+49,7
@@
if [ "Darwin" = "$(uname)" ]; then
knewcache () {
princ="$1"; shift
local oldcache="$(klist | grep 'Kerberos 5 ticket cache' | cut -f 2 -d "'")"
+ # " # <-- emacs thinks there's an unbalanced " on the previous line.
kinit "$@" "$princ" || return 1
cache="$(kfindcache "$princ")"
# On OS X, kinit will switch your default credential cache to