diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-10 11:14:59 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-10 11:14:59 +0100 |
commit | 1bc04b995a0ad2ae1bcaf1c8147842bbec2f5d45 (patch) | |
tree | 73f103b672916716a73dd72e1fa72f87f66b8e4c /src | |
parent | a9e1eb66bc349a9ec4bf65e416d33e803fa6cfd1 (diff) |
debugging fixes
Diffstat (limited to 'src')
-rwxr-xr-x | src/fifa.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fifa.sh b/src/fifa.sh index e201bea..c8bb712 100755 --- a/src/fifa.sh +++ b/src/fifa.sh @@ -131,11 +131,12 @@ execute () log "******* Executing phase $2" exit_var=exit_$object read $exit_var <<< 0 - debug "\$1: $1, \$2: $2, \$object: $object, \$exit_$object: $exit_var" + debug "\$1: $1, \$2: $2, \$object: $object, \$exit_$object: $exit_object" debug "declare: `declare | grep -e "^${object}=" | cut -d"=" -f 2-`" # props to jedinerd at #bash for this hack. eval phase=$(declare | grep -e "^${object}=" | cut -d"=" -f 2-) + debug "\$phase: $phase - ${phase[@]}" # worker_str contains the name of the worker and optionally any arguments for worker_str in "${phase[@]}" do |