From d9c6d0118064bbfc274f5a0596db39795e19883e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Johannes=20Wei=C3=9Fl?= Date: Thu, 11 Nov 2010 09:02:39 +0100 Subject: [PATCH] bugfix: better quote maildir (can contain spaces) --- muttjump | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5