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
1 changed files with 2 additions and 2 deletions

View File

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