some more pruning of unnecessary usage of cat for the gnupg scripts.
[monkeysphere.git] / src / share / mh / revoke_hostname
index 2142af7dbeb424757b94d58516b33b6e12a927cc..5dc327f02c8a65a97e1fa4dd4dae1289bb15bc85 100644 (file)
@@ -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