Commit 5f4de3a6 authored by Mikhail Karpenko's avatar Mikhail Karpenko

Fix array reading loop

parent 5313a04b
......@@ -127,8 +127,8 @@ else
fi
cd $E393_ROOTFSDIR
#Clone user space applications
for elem in $(seq 0 4 $((${APPS_ARRAY[@]} - 1))); do
cloneandcheckout ${APPS_ARRAY[$elem]} ${APPS_ARRAY[$elem+1]} ${APPS_ARRAY[$elem+2]} ${APPS_ARRAY[$elem+3]}
for elem in $(seq 0 4 $((${#APPS_ARRAY[@]} - 1))); do
cloneandcheckout "${APPS_ARRAY[$elem]}" "${APPS_ARRAY[$elem+1]}" "${APPS_ARRAY[$elem+2]}" "${APPS_ARRAY[$elem+3]}"
done
cd ..
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment