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
7f94328f
Commit
7f94328f
authored
Aug 10, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Eclipse project settings copying function
parent
d12dbe12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
setup.sh
setup.sh
+12
-1
No files found.
setup.sh
View file @
7f94328f
...
...
@@ -113,7 +113,17 @@ cloneandcheckout () {
fi
}
# copy Eclipse projects settings if they are present in a special directory AND not in project directory
ECLIPSE_PROJECT_SETUP
=
"eclipse_project_setup"
copy_eclipse_settings
()
{
if
[
!
-f
"
$1
/.project"
]
&&
[
-d
"
$1
/
$ECLIPSE_PROJECT_SETUP
"
]
;
then
echo
" Copying up files for Eclipse project"
echo
" Copying
$1
/
$ECLIPSE_PROJECT_SETUP
$1
"
rsync
-v
-a
$1
/
$ECLIPSE_PROJECT_SETUP
/
$1
/
else
echo
" NOT Copying up files for Eclipse project"
fi
}
echo
"Step 1: Clone kernel project
"
...
...
@@ -173,6 +183,7 @@ 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]
}
"
copy_eclipse_settings
"
${
APPS_ARRAY
[
$elem
+1]
}
"
done
cd
..
...
...
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