Parcourir la source
Fix: remove extra `\` from dynamic mailboxes
Remove extra escaping from `mutt`'s mailboxes dynamic generator.
Apparently, backslash expansion inside the backticks context
(`\`shell-command\``) is not performed.
Fixes #769 .
pull/771/head
PRESFIL
il y a 3 ans
committed by
GitHub
Parent
révision
6c74c9e095
Aucune clé connue n'a été trouvée dans la base pour cette signature
ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec
1 ajouts et
1 suppressions
bin/mw
@@ -226,7 +226,7 @@ getboxes() { if [ -n "${force+x}" ] ; then
idnum=$((idnum + 1))
[ $idnum -eq $x ] || break
done
toappend="mailboxes \`mdir=$maildir/$fulladdr/; find \$mdir -mindepth 1 -type d -name cur | sed -e 's:/cur\$:\":' -e \"s:\$mdir:\\\"=:\" | sort | tr '\\\ n' ' '\`"
toappend="mailboxes \`mdir=$maildir/$fulladdr/; find \$mdir -mindepth 1 -type d -name cur | sed -e 's:/cur\$:\":' -e \"s:\$mdir:\\\"=:\" | sort | tr '\\n' ' '\`"
}
finalize() { echo "$toappend" >> "$accdir/$fulladdr.muttrc"