summaryrefslogtreecommitdiff
path: root/src/share/m/gen_subkey
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-03-18 14:31:43 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-03-18 14:31:43 -0400
commitf57fcf0132eb921a0ee494cb14cca6a13c63c4c4 (patch)
tree8657cd00d7f746a00c1cb8b0b32281377f67264e /src/share/m/gen_subkey
parente83246495fd806b1e6535ee5a4e5acbacb3c175a (diff)
remove some extraneous invocations of cat.
Diffstat (limited to 'src/share/m/gen_subkey')
-rw-r--r--src/share/m/gen_subkey7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/share/m/gen_subkey b/src/share/m/gen_subkey
index dbd9dd6..a0fa3ce 100644
--- a/src/share/m/gen_subkey
+++ b/src/share/m/gen_subkey
@@ -44,8 +44,7 @@ Type '$PGRM help' for usage."
check_gpg_authentication_subkey "$keyID"
# generate the list of commands that will be passed to edit-key
- editCommands=$(cat <<EOF
-addkey
+ editCommands="addkey
7
S
E
@@ -53,9 +52,7 @@ A
Q
$keyLength
0
-save
-EOF
-)
+save"
# setup the temp fifo dir for retrieving the key password
log debug "creating password fifo..."