From: Johannes Weißl Date: Thu, 11 Nov 2010 08:02:39 +0000 (+0100) Subject: bugfix: better quote maildir (can contain spaces) X-Git-Url: https://projects.mako.cc/source/muttjump/commitdiff_plain/d9c6d0118064bbfc274f5a0596db39795e19883e?ds=inline bugfix: better quote maildir (can contain spaces) --- diff --git a/muttjump b/muttjump index f377160..32644d3 100755 --- a/muttjump +++ b/muttjump @@ -128,7 +128,7 @@ if [ -z "$orig_msgfile" -o ! -e "$orig_msgfile" ] ; then fi # get containing maildir of $orig_msgfile -orig_maildir=$(dirname $(dirname "$orig_msgfile")) +orig_maildir=$(dirname "$(dirname "$orig_msgfile")") if [ ! -d "$orig_maildir/cur" ] ; then die "directory $(quote "$orig_maildir") doesn't exist or is no Maildir" fi