summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-06-12 09:46:40 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-06-12 09:46:40 -0400
commitba14c70659e154c3af63e1ee2480a6a75b7ac0e5 (patch)
tree1be847bf36d80bb6fdaf5dc59e5ed678e34067ea /src/common
parentf95803153b478e3ca3dd634c340355d7d582dcea (diff)
parent35a6f7cf8c455318078c7f94951dbc964bb41006 (diff)
Merge commit 'jrollins/master'
Diffstat (limited to 'src/common')
-rwxr-xr-xsrc/common12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common b/src/common
index d7caefd..914c800 100755
--- a/src/common
+++ b/src/common
@@ -14,8 +14,8 @@
# managed directories
ETC="/etc/monkeysphere"
export ETC
-LIB="/var/lib/monkeysphere"
-export LIB
+CACHE="/var/cache/monkeysphere"
+export CACHE
########################################################################
failure() {
@@ -312,13 +312,13 @@ process_known_hosts() {
# update an authorized_keys file after first processing the
# authorized_user_ids file
update_authorized_keys() {
- local cacheDir
local msAuthorizedKeys
local userAuthorizedKeys
+ local cacheDir
- cacheDir="$1"
- msAuthorizedKeys="$2"
- userAuthorizedKeys="$3"
+ msAuthorizedKeys="$1"
+ userAuthorizedKeys="$2"
+ cacheDir="$3"
process_authorized_ids "$AUTHORIZED_USER_IDS" "$cacheDir"