5
Last change
on this file since a74e432 was
a74e432,
checked in by Chris Johns <chrisj@…>, on 05/20/19 at 22:54:10
|
sb: Add sb-get-sources to download all referenced source files.
- Downloads all files into a single directory
- Iterates over all supported hosts to get any host dependent source
no matter which host you run the command on.
Closes #3532
|
-
Property mode set to
100755
|
File size:
1.1 KB
|
Line | |
---|
1 | #! /bin/sh |
---|
2 | # |
---|
3 | # RTEMS Tools Project (http://www.rtems.org/) |
---|
4 | # Copyright 2019 Chris Johns (chrisj@rtems.org) |
---|
5 | # All rights reserved. |
---|
6 | # |
---|
7 | # This file is part of the RTEMS Tools package in 'rtems-tools'. |
---|
8 | # |
---|
9 | # Permission to use, copy, modify, and/or distribute this software for any |
---|
10 | # purpose with or without fee is hereby granted, provided that the above |
---|
11 | # copyright notice and this permission notice appear in all copies. |
---|
12 | # |
---|
13 | # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
---|
14 | # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
---|
15 | # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
---|
16 | # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
---|
17 | # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
---|
18 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
---|
19 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
---|
20 | # |
---|
21 | set -e |
---|
22 | base=$(dirname $0) |
---|
23 | PYTHON_CMD=${base}/sb/cmd-get-sources.py |
---|
24 | if test -f ${base}/sb/python-wrapper.sh; then |
---|
25 | . ${base}/sb/python-wrapper.sh |
---|
26 | fi |
---|
27 | echo "error: python wrapper not found" |
---|
Note: See
TracBrowser
for help on using the repository browser.