]> projects.mako.cc - muttjump/commitdiff
add another quote()
authorJohannes Weißl <jargon@molb.org>
Wed, 10 Nov 2010 16:33:59 +0000 (17:33 +0100)
committerJohannes Weißl <jargon@molb.org>
Wed, 10 Nov 2010 16:33:59 +0000 (17:33 +0100)
muttjump

index 07859c9ec5700bb916a17dfc06834b307ce66573..3d5736c2103c83c186297bf09719bc9c10f78531 100755 (executable)
--- a/muttjump
+++ b/muttjump
@@ -156,7 +156,7 @@ else
         screen_opts_str="-S $(quote "$MUTTJUMP_SCREEN_SESSION")"
     fi
 
         screen_opts_str="-S $(quote "$MUTTJUMP_SCREEN_SESSION")"
     fi
 
-    $SCREEN "${screen_opts[@]}" -X eval "select \"$screen_window_name\"" "stuff \":push \\\"$jump_cmd\\\"
+    $SCREEN "${screen_opts[@]}" -X eval "select $(quote "$screen_window_name")" "stuff \":push \\\"$jump_cmd\\\"
 \""
     if [ $? != 0 ] ; then
         die "You have to manually start a screen session with:
 \""
     if [ $? != 0 ] ; then
         die "You have to manually start a screen session with:

Benjamin Mako Hill || Want to submit a patch?