Explorar el Código

escape single quote in box, fix #880

pull/891/head
Luke Smith hace 1 año
padre
commit
60951ccbee
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw Ver fichero

@@ -229,7 +229,7 @@ getboxes() { if [ -n "${force+x}" ] ; then
idnum=$((idnum + 1))
[ "$idnum" -eq "$x" ] || break
done
toappend="mailboxes $(echo "$mailboxes" | sed "s/^/\"=/;s/$/\"/" | paste -sd ' ' - )"
toappend="mailboxes $(echo "$mailboxes" | sed "s/^/\"=/;s/$/\"/;s/'/\\\'/g" | paste -sd ' ' - )"
}

finalize() { echo "$toappend" >> "$accdir/$fulladdr.muttrc"


Cargando…
Cancelar
Guardar