Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel393
Commits
5f4de3a6
Commit
5f4de3a6
authored
8 years ago
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix array reading loop
parent
5313a04b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
setup.sh
setup.sh
+2
-2
No files found.
setup.sh
View file @
5f4de3a6
...
...
@@ -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
..
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment