correctly evaluate

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-24 21:41:03 +01:00
parent df2bbebed7
commit e4a6efa84b

View file

@ -50,8 +50,8 @@ done < "$type_listing"
# For every type that has explorers, Transfer the explorers
i=0
while [ "$i" -le "$tc" ]; do
eval cur_type=\"type_$i\"
while [ "$i" -lt "$tc" ]; do
eval cur_type=\"\$type_$i\"
src_dir="$(__cdist_type_explorer_dir "$cur_type")"
dst_dir="$(__cdist_remote_type_explorer_dir "$cur_type")"