commit ece90b43b55234f9189767152ee3470ce9e226ea
parent 456d02d1ee0ab196ac256b91c9ac86a01f3c0bb6
Author: Luke Smith <luke@lukesmith.xyz>
Date: Tue, 15 Dec 2020 21:49:24 -0500
Merge pull request #598 from erietz/patch-2
Fix mailboxes on macos
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/mw b/bin/mw
@@ -237,7 +237,7 @@ Archive" && return 0
finalize() { echo "$mailboxes" | xargs -I {} mkdir -p "$maildir/$fulladdr/{}/cur" "$maildir/$fulladdr/{}/tmp" "$maildir/$fulladdr/{}/new"
sed -ibu "/$MARKER/d" "$accdir/$idnum-$fulladdr.muttrc" ; rm -f "$accdir/$idnum-$fulladdr.muttrcbu"
- toappend="mailboxes $(echo "$mailboxes" | sed "s/^/\"=/;s/$/\"/" | paste -sd ' ' )"
+ toappend="mailboxes $(echo "$mailboxes" | sed "s/^/\"=/;s/$/\"/" | paste -sd ' ' - )"
for x in $mailboxes; do
case "$x" in
*[Ss][Ee][Nn][Tt]*) setBox record "$x"; formatShortcut s sent "$x" ;;