Sfoglia il codice sorgente

set mindepth to 1 and move sort to after sed

Signed-off-by: Aisha Tammy <floss@bsd.ac>
tags/v3.3
Aisha Tammy 3 anni fa
parent
commit
2a50561834
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: C0E2E5A5205E152E
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw Vedi File

@@ -227,7 +227,7 @@ getboxes() { if [ -n "${force+x}" ] ; then
fi
[ "$type" = "pop" ] && mailboxes="INBOX"
getaccounts; for x in $(seq 1 9); do echo "$accounts" | grep -q "^$x:" || { export idnum="$x"; break ;}; done
toappend="mailboxes \`mdir=$maildir/$fulladdr/; find \$mdir -type d -name cur | sort | sed -e 's:/cur\$:\":' -e \"s:\$mdir:\\\"=:\" | 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' ' '\`"
for x in $mailboxes; do
case "$x" in
*[Ss][Ee][Nn][Tt]*) setBox record "$x"; formatShortcut s sent "$x" ;;


Caricamento…
Annulla
Salva