From 49a78429d729a7a712eb8639d26c5b46a2795c98 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Fri, 12 Dec 2008 18:36:36 +0100 Subject: todo updates --- src/core/libs/lib-misc.sh | 2 +- src/core/libs/lib-ui.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/libs') diff --git a/src/core/libs/lib-misc.sh b/src/core/libs/lib-misc.sh index f4ae997..995307d 100644 --- a/src/core/libs/lib-misc.sh +++ b/src/core/libs/lib-misc.sh @@ -20,7 +20,7 @@ run_background () echo "STARTING $1 . Executing $2 >>$3 2>&1\n" >> $3; var_exit=${1}_exitcode eval "$2" >>$3 2>&1 - read $var_exit <<< $? #TODO: bash complains about 'not a valid identifier' or something iirc -> maybe fixed now.. + read $var_exit <<< $? #TODO: bash complains about 'not a valid identifier' debug "run_background done with $1: exitcode (\$$1_exitcode): "${!var_exit}" .Logfile $3" #TODO ${!var_exit} doesn't show anything --> maybe fixed now echo >> $3 rm -f /home/arch/aif/runtime/$1-running diff --git a/src/core/libs/lib-ui.sh b/src/core/libs/lib-ui.sh index 5c48b00..bb7511e 100644 --- a/src/core/libs/lib-ui.sh +++ b/src/core/libs/lib-ui.sh @@ -431,7 +431,7 @@ _cli_ask_checklist () item=$1 [ "$2" != '-' -a "$2" != '^' ] && item="$1 ($2)" [ "$3" = ON ] && ask_yesno "Enable $1 ?" yes && output="$output $1" - [ "$3" = OFF ] && ask_yesno "Enable $1 ?" no && output="$output $1" + [ "$3" = OFF ] && ask_yesno "Enable $1 ?" no && output="$output $1" #TODO: for some reason, default is always N when asked to select packages shift 3 done ANSWER_CHECKLIST=$output -- cgit v1.2.3-54-g00ecf