diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-12 18:36:36 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-12 18:36:36 +0100 |
commit | 49a78429d729a7a712eb8639d26c5b46a2795c98 (patch) | |
tree | 1ec19243294692e609e0bae8d1fa69de6a330965 /src/core/libs | |
parent | af111302fad05e2dd24c74a264cae4d154cf7b61 (diff) |
todo updates
Diffstat (limited to 'src/core/libs')
-rw-r--r-- | src/core/libs/lib-misc.sh | 2 | ||||
-rw-r--r-- | src/core/libs/lib-ui.sh | 2 |
2 files changed, 2 insertions, 2 deletions
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 |