summaryrefslogtreecommitdiff
path: root/src/share/mh/revoke_hostname
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-03-22 20:11:16 -0400
committerJameson Graef Rollins <jrollins@finestructure.net>2009-03-22 20:11:16 -0400
commit80fa48160844ace97727896131c67df78ea4bb61 (patch)
tree32d293e9c5df74cc21323f676c87ce4bbc374295 /src/share/mh/revoke_hostname
parent45d416f40d4a300b71a83f67b1324dd8744d4b3a (diff)
some more pruning of unnecessary usage of cat for the gnupg scripts.
Diffstat (limited to 'src/share/mh/revoke_hostname')
-rw-r--r--src/share/mh/revoke_hostname8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/share/mh/revoke_hostname b/src/share/mh/revoke_hostname
index 2142af7..5dc327f 100644
--- a/src/share/mh/revoke_hostname
+++ b/src/share/mh/revoke_hostname
@@ -54,17 +54,15 @@ else
fi
# edit-key script command to revoke user ID
-revuidCommand=$(cat <<EOF
-$uidIndex
+revuidCommand="$uidIndex
revuid
y
4
Hostname removed by monkeysphere-host: $DATE
y
-save
-EOF
- )
+save"
+# end script
# execute edit-key script
if echo "$revuidCommand" | gpg_host_edit ; then