sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master binary grimoire by George Sherwood (e8a12611b38282914ec1a80fed20296b79baa2e1)
- From: George Sherwood <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master binary grimoire by George Sherwood (e8a12611b38282914ec1a80fed20296b79baa2e1)
- Date: Sat, 29 Nov 2008 20:54:34 -0600
GIT changes to master binary grimoire by George Sherwood
<gsherwood AT sourcemage.org>:
config_query_multi.function | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit e8a12611b38282914ec1a80fed20296b79baa2e1
Author: George Sherwood <gsherwood AT sourcemage.org>
Commit: George Sherwood <gsherwood AT sourcemage.org>
config_query_multi.function: Added patch from bug #14914.
Already added to test
diff --git a/config_query_multi.function b/config_query_multi.function
index 56afd52..ca9d27f 100755
--- a/config_query_multi.function
+++ b/config_query_multi.function
@@ -49,6 +49,7 @@ function select_list_sub_multi() {
local default=$4
local __result=() j
+ local answer answer_parsed
while [[ ! $__result ]] ; do
message -n "$msgstr"
@@ -101,6 +102,7 @@ function real_config_query_multi () {
echo -e "[[ ${QUERY_COLOR}${QUESTION}${DEFAULT_COLOR} ->
'${QUERY_COLOR}$ANSWER${DEFAULT_COLOR}' ]]"
else
# if there was an answer before, find it
+ local stuff=(0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t
u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z)
local defaults default default_num foo
config_get_last_option "$VARIABLE" default
[[ $default ]] || default="$1"
@@ -108,7 +110,7 @@ function real_config_query_multi () {
let i=0
for foo in "$@"; do
if [[ "$defaults" == "$foo" ]] ; then
- default_num="$default_num $i"
+ default_num="$default_num ${stuff[$i]}"
fi
let i++
done
- [SM-Commit] GIT changes to master binary grimoire by George Sherwood (e8a12611b38282914ec1a80fed20296b79baa2e1), George Sherwood, 11/29/2008
Archive powered by MHonArc 2.6.24.