rename $i to $current_source
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
a48fe6d41b
commit
0f7891de8d
1 changed files with 4 additions and 4 deletions
|
@ -247,13 +247,13 @@ fi
|
||||||
#
|
#
|
||||||
# Let's do the backup - here begins the real stuff
|
# Let's do the backup - here begins the real stuff
|
||||||
#
|
#
|
||||||
i=0
|
current_source=0
|
||||||
while [ "${i}" -lt "${no_sources}" ]; do
|
while [ "${current_source}" -lt "${no_sources}" ]; do
|
||||||
#
|
#
|
||||||
# Get current source
|
# Get current source
|
||||||
#
|
#
|
||||||
eval name=\"\$source_${i}\"
|
eval name=\"\$source_${current_source}\"
|
||||||
i=$((${i}+1))
|
current_source=$((${current_source}+1))
|
||||||
|
|
||||||
export name
|
export name
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue