Skip to content
Snippets Groups Projects
Commit e0f06d9e authored by Armand Bahi's avatar Armand Bahi
Browse files

Fix utils loop error

parent be3afe52
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ if [[ $depsCount > 0 ]]; then
git subtree add --prefix src/closure "git@gitlab.veremes.net:Development/vitis_apps/sources/closure.git" master
# Modules
for (( i=1; i <= $depsCount; i++ )); do
for (( i=1; i < $depsCount; i++ )); do
if [ ${aDeps[$i, nature]} == "modules" ]; then
echo "---- Init ${aDeps[$i, name]} : ${aDeps[$i, version]}----"
......
......@@ -21,7 +21,7 @@ git subtree pull --prefix src/vitis -m "pull vitis $vitisVersion" "git@gitlab.v
# Modules
if [[ $depsCount > 0 ]]; then
for (( i=1; i <= $depsCount; i++ )); do
for (( i=1; i < $depsCount; i++ )); do
if [ ${aDeps[$i, nature]} == "modules" ]; then
echo "---- Pull ${aDeps[$i, name]} ----"
......
......@@ -25,7 +25,7 @@ echo "---- Push vitis ----"
# Modules
if [[ $depsCount > 0 ]]; then
for (( i=1; i <= $depsCount; i++ )); do
for (( i=1; i < $depsCount; i++ )); do
if [ ${aDeps[$i, nature]} == "modules" ]; then
echo "---- Push ${aDeps[$i, name]} ----"
......
......@@ -39,7 +39,7 @@ if [[ $depsCount > 0 ]]; then
fi
# Modules
for (( i=1; i <= $depsCount; i++ )); do
for (( i=1; i < $depsCount; i++ )); do
if [ ${aDeps[$i, nature]} == "modules" ]; then
read -p "Reinit ${aDeps[$i, name]}? (y/n)" -n 1 -r
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment