summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2014-04-09 15:26:12 -0700
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-04-25 17:31:38 -0700
commit6ea39986297d8a3c3206714891e607c23315341c (patch)
tree1a994170ee8301b846dfa109a7330f2778dcbd75
parentd939921ff9f2c162d3ab92e90064a1247bf7d286 (diff)
downloadaiaiai-6ea39986297d8a3c3206714891e607c23315341c.tar.gz
aiaiai: don't cat the $mbox file at begining of email-testpatchset
This patch corrects an inadverdent addition of cat "$mbox" which apears to come from commit bbf0119cbfc0. Possibly originating as some sort of debugging code, it has essentially been lost in a rebase most likely. However, this cat of the mbox contents is quite annoying. Possibly add this back as a feature, since it sometimes proves useful, but generally slows down aiaiai due to sometimes printing an exceptional amount of data to stdout! Also fixes a typo of private. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Fixes: bbf0119cbfc0 ("email-lda: use cover letter subject if available") Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-rwxr-xr-xemail/aiaiai-email-test-patchset3
1 files changed, 1 insertions, 2 deletions
diff --git a/email/aiaiai-email-test-patchset b/email/aiaiai-email-test-patchset
index 2c5b701..5a1cebf 100755
--- a/email/aiaiai-email-test-patchset
+++ b/email/aiaiai-email-test-patchset
@@ -239,9 +239,8 @@ if [ -z "$mbox" ]; then
cat > "$mbox"
fi
-cat "$mbox"
# Use the cover letter subject and message ID if possible. If the cover letter
-# was present, 'aiaiai-email-lda' would save them in special privat headers.
+# was present, 'aiaiai-email-lda' would save them in special private headers.
subj="$(fetch_header "X-Aiaiai-Cover-Letter-Subject" < "$mbox")"
[ -n "$subj" ] || fetch_header_or_die subj "Subject" < "$mbox"