summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-23 07:05:38 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-23 07:05:38 -0400
commitdbb68536393fbe62122339c446af3f21540cab35 (patch)
treec7184d57046b124913dbbf83a213e7954bff60d0 /bin
parent0633cb2b50e7e66369596e3a5cb378a8be33fc88 (diff)
accdir bug fix
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mw2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mw b/bin/mw
index 67caa18..10da0b7 100755
--- a/bin/mw
+++ b/bin/mw
@@ -152,7 +152,7 @@ EOF
[ -z "$login" ] && login="$fulladdr"
getpass
getprofiles
- mkdir -p "$muttdir" "$cachedir/$title/bodies" "$HOME/.config/msmtp"
+ mkdir -p "$muttdir" "$accdir" "$cachedir/$title/bodies" "$HOME/.config/msmtp"
getaccounts
for x in $(seq 1 9); do echo "$accounts" | grep "$x" >/dev/null 2>&1 || { export idnum="$x"; break ;}; done
[ ! -f "$HOME/.config/msmtp/config" ] && echo "$msmtp_header" > "$HOME/.config/msmtp/config"