diff options
author | Leah Neukirchen <leah@vuxu.org> | 2019-02-05 09:49:59 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2019-02-05 09:49:59 +0100 |
commit | 9d280aa8a30a22e57db505450e9586346ae9943c (patch) | |
tree | ead53df2b2f002e9cc42fbc89ebd1362a097ad20 /mcom | |
parent | 5bd1ef9cffc0a6dc0178277dfca3367c1c25895d (diff) | |
download | mblaze-9d280aa8a30a22e57db505450e9586346ae9943c.tar.gz mblaze-9d280aa8a30a22e57db505450e9586346ae9943c.tar.xz mblaze-9d280aa8a30a22e57db505450e9586346ae9943c.zip |
mcom: do_mime: fix for loop quoting
Diffstat (limited to 'mcom')
-rwxr-xr-x | mcom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcom b/mcom index 74d57ee..f86edea 100755 --- a/mcom +++ b/mcom @@ -77,9 +77,9 @@ do_mime() { ( IFS=$NL msed '/attach/d' "$draft" - for f in "$(mhdr -M -h attach "$draft")"; do + for f in $(mhdr -M -h attach "$draft"); do printf '#%s %s\n' \ - "$(file -Lbi $f | sed 's/ //g')" \ + "$(file -Lbi "$f" | sed 's/ //g')" \ "$f" done ) | mmime >"$draftmime" |