summaryrefslogtreecommitdiff
path: root/src/share/mh/import_key
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-01 12:52:10 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-01 12:52:10 -0500
commit89e447e2001c0406fab6d2e6ca300a19d492435b (patch)
tree8dc571231cf92282ae54ca23906d46c8bae1dd7f /src/share/mh/import_key
parent98ee387a0ba4b15fe80cfcd7828127ff8ae9518d (diff)
fix a bunch of directory references to the new data/share dirs
Diffstat (limited to 'src/share/mh/import_key')
-rw-r--r--src/share/mh/import_key4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/mh/import_key b/src/share/mh/import_key
index c0d5956..0f16d27 100644
--- a/src/share/mh/import_key
+++ b/src/share/mh/import_key
@@ -79,8 +79,8 @@ log verbose "setting ultimate owner trust for host key..."
echo "${fingerprint}:6:" | gpg_host "--import-ownertrust"
# export public key to file
-gpg_host "--export-options export-minimal --armor --export 0x${fingerprint}\!" > "${SYSDATADIR}/ssh_host_rsa_key.pub.gpg"
-log info "SSH host public key in OpenPGP form: ${SYSDATADIR}/ssh_host_rsa_key.pub.gpg"
+gpg_host "--export-options export-minimal --armor --export 0x${fingerprint}\!" > "${MHDATADIR}/ssh_host_rsa_key.pub.gpg"
+log info "SSH host public key in OpenPGP form: ${MHDATADIR}/ssh_host_rsa_key.pub.gpg"
# show info about new key
show_key