]> projects.mako.cc - muttjump/commitdiff
use array=() instead of declare -a
authorJohannes Weißl <jargon@molb.org>
Tue, 30 Nov 2010 14:06:51 +0000 (15:06 +0100)
committerJohannes Weißl <jargon@molb.org>
Tue, 30 Nov 2010 14:06:51 +0000 (15:06 +0100)
muttjump

index 4ec3d9126a3dd645eb2ac81cf96fdef04faee6c7..8486594fc07d03f9d219c1e8adf4c6f4c9c58ba6 100755 (executable)
--- a/muttjump
+++ b/muttjump
@@ -166,7 +166,7 @@ else
     fi
 
     screen_window_name=$(MUTTJUMP_SCREEN_WINDOW_NAME_MANGLE "$orig_maildir")
-    declare -a screen_opts
+    screen_opts=()
     if [ -n "$MUTTJUMP_SCREEN_SESSION" ] ; then
         screen_opts=("-S" "$MUTTJUMP_SCREEN_SESSION")
         screen_opts_str="-S $(quote "$MUTTJUMP_SCREEN_SESSION")"

Benjamin Mako Hill || Want to submit a patch?