summaryrefslogtreecommitdiff
path: root/mailcert.sh
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2011-04-02 22:46:19 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2011-04-02 22:46:19 -0700
commitd3f19b5655b794b7c58f8dd5f765125f590f0d8c (patch)
tree75afaeba8ff1643242ec63a6e559bbea92acca66 /mailcert.sh
parent4006fc279fdcd3cebe6650c9e37a243242270698 (diff)
downloadcash-d3f19b5655b794b7c58f8dd5f765125f590f0d8c.tar.gz
cash-d3f19b5655b794b7c58f8dd5f765125f590f0d8c.zip
mailcert.sh: name attachments properly
Diffstat (limited to 'mailcert.sh')
-rwxr-xr-xmailcert.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailcert.sh b/mailcert.sh
index 714bde4..13c30f6 100755
--- a/mailcert.sh
+++ b/mailcert.sh
@@ -91,12 +91,12 @@ $CACERTNAME is the certificate authority certificate.
Content-Type: application/x-x509-ca-cert
Content-Disposition: attachment; filename="$USERCERTNAME"
-$(cat "$CACERT")
+$(cat "$USERCERT")
--$BOUNDARY
Content-Type: application/x-x509-ca-cert
Content-Disposition: attachment; filename="$CACERTNAME"
-$(cat "$USERCERT")
+$(cat "$CACERT")
--$BOUNDARY--
EOF