Merge commit 'dkg/master'
[monkeysphere.git] / src / subcommands / ma / add-certifier
old mode 100755 (executable)
new mode 100644 (file)
index 3bd800c..9ad0515
@@ -1,18 +1,21 @@
-#!/usr/bin/env bash
+# -*-shell-script-*-
+# This should be sourced by bash (though we welcome changes to make it POSIX sh compliant)
 
 # Monkeysphere authentication add-certifier subcommand
 #
 # The monkeysphere scripts are written by:
-# Jameson Rollins <jrollins@fifthhorseman.net>
+# Jameson Rollins <jrollins@finestructure.net>
 # Jamie McClelland <jm@mayfirst.org>
 # Daniel Kahn Gillmor <dkg@fifthhorseman.net>
 #
-# They are Copyright 2008, and are all released under the GPL, version 3
-# or later.
+# They are Copyright 2008-2009, and are all released under the GPL,
+# version 3 or later.
 
 # retrieve key from web of trust, import it into the host keyring, and
 # ltsign the key in the host keyring so that it may certify other keys
 
+add_certifier() {
+
 local domain
 local trust
 local depth
@@ -139,3 +142,5 @@ if echo "$ltsignCommand" | \
 else
     failure "Problem adding identify certifier."
 fi
+
+}