forked from ungleich-public/cdist
correctly evaluate
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
df2bbebed7
commit
e4a6efa84b
1 changed files with 2 additions and 2 deletions
|
@ -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")"
|
||||||
|
|
Loading…
Reference in a new issue