Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Ocarina
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
TASTE
Ocarina
Commits
0f0c80ee
Commit
0f0c80ee
authored
Dec 23, 2016
by
yoogx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Add support for --root_url flag to set up root Git URL
For issue #78
parent
bbc43558
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
support/get_runtimes.sh
support/get_runtimes.sh
+9
-5
No files found.
support/get_runtimes.sh
View file @
0f0c80ee
...
...
@@ -21,32 +21,36 @@ if test $# -eq 0; then
exit
1
fi
repository
=
""
workdir
=
"
`
pwd
`
"
scriptdir
=
"
`
dirname
$0
`
"
;
cd
"
${
scriptdir
}
"
;
scriptdir
=
"
`
pwd
`
"
cd
${
workdir
}
while
test
$#
-ne
0
;
do
r
=
"
`
echo
$1
|
tr
'[A-Z]'
'[a-z]'
`
"
echo
$r
case
${
r
}
in
*
aadlib
*
)
--root_url
=
*
)
repository
=
`
echo
"
$1
"
|
sed
's/[-_a-zA-Z0-9]*=//'
`
;;
*
aadlib
*
)
cd
${
scriptdir
}
/../resources/runtime
||
exit
2
rm
-rf
AADLib 2>/dev/null
git clone
https://github.com/OpenAADL
/AADLib.git aadlib
\
git clone
${
repository
}
/AADLib.git aadlib
\
||
exit
2
;;
*
po
*
hi
*
ada
*
)
cd
${
scriptdir
}
/../resources/runtime
||
exit
2
rm
-rf
polyorb-hi-ada 2>/dev/null
git clone
https://github.com/OpenAADL
/polyorb-hi-ada.git
\
git clone
${
repository
}
/polyorb-hi-ada.git
\
||
exit
2
;;
*
po
*
hi
*
c
*
)
cd
${
scriptdir
}
/../resources/runtime
||
exit
2
rm
-rf
polyorb-hi-c 2>/dev/null
git clone
https://github.com/OpenAADL
/polyorb-hi-c.git
\
git clone
${
repository
}
/polyorb-hi-c.git
\
||
exit
2
;;
...
...
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