summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-01-08 08:36:17 -0500
committerLuke Smith <luke@lukesmith.xyz>2021-01-08 08:36:17 -0500
commitd7fd47516f9283e70bd4d0e5f19391e161247919 (patch)
tree219a924075673474792830f6cfecbe7110e88e2a
parent913c877448158ca6a97d6090884fc9ec9a3d9c68 (diff)
fix #615v3.1.1
-rwxr-xr-xbin/mw2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mw b/bin/mw
index a2ad6bd..493a5f2 100755
--- a/bin/mw
+++ b/bin/mw
@@ -238,7 +238,7 @@ Sent
Archive" && return 0
info="$(curl --location-trusted -s -m 5 --user "$login:$(pass $pass_prefix$fulladdr)" --url "${protocol:-imaps}://$imap")"
[ -z "$info" ] && echo "Log-on not successful." && return 1
- mailboxes="$(echo "$info" | sed "s/.*\" //" | tr -d ' ')"
+ mailboxes="$(echo "$info" | sed "s/.*\" //;s/\"//g" | tr -d ' ')"
}
finalize() { echo "$mailboxes" | xargs -I {} mkdir -p "$maildir/$fulladdr/{}/cur" "$maildir/$fulladdr/{}/tmp" "$maildir/$fulladdr/{}/new"