mirror of https://github.com/deadw00d/AROS.git
added updating of submodules
This commit is contained in:
parent
6b944b2da4
commit
5c7298b487
|
@ -11,7 +11,7 @@
|
|||
# In contrast to gimmearos.sh this script creates the toolchain
|
||||
# in external directories.
|
||||
|
||||
# $VER: gimmearos-ext.sh 1.15 (01.09.2019)
|
||||
# $VER: gimmearos-ext.sh 1.16 (18.01.2020)
|
||||
|
||||
curdir="`pwd`"
|
||||
srcdir="aros-src"
|
||||
|
@ -219,11 +219,12 @@ case "$input" in
|
|||
;;
|
||||
esac
|
||||
|
||||
cd "$curdir"
|
||||
|
||||
input=""
|
||||
until [ "$input" = "99" ]
|
||||
do
|
||||
cd "$curdir"
|
||||
|
||||
echo -e "\n\n\n\n\n"
|
||||
echo -e "******************************************************"
|
||||
echo -e "* Step 2: get the sources from the GITHUB repository *"
|
||||
|
@ -242,18 +243,28 @@ do
|
|||
case "$input" in
|
||||
1 ) echo -e "\nGetting AROS V1 core with Git...\n"
|
||||
git clone https://github.com/aros-development-team/AROS.git "$srcdir"
|
||||
cd "$srcdir"
|
||||
git submodule update --init --recursive
|
||||
;;
|
||||
2 ) echo -e "\nGetting contrib V1 with Git...\n"
|
||||
git clone https://github.com/aros-development-team/contrib.git "$srcdir/contrib"
|
||||
cd "$srcdir/contrib"
|
||||
git submodule update --init --recursive
|
||||
;;
|
||||
3 ) echo -e "\nGetting ports V1 with Git...\n"
|
||||
git clone https://github.com/aros-development-team/ports.git "$srcdir/ports"
|
||||
cd "$srcdir/ports"
|
||||
git submodule update --init --recursive
|
||||
;;
|
||||
4 ) echo -e "\nGetting documentation V1 with Git...\n"
|
||||
git clone https://github.com/aros-development-team/documentation.git "$srcdir/documentation"
|
||||
cd "$srcdir/documentation"
|
||||
git submodule update --init --recursive
|
||||
;;
|
||||
5 ) echo -e "\nGetting binaries V1 with Git...\n"
|
||||
git clone https://github.com/aros-development-team/binaries.git "$srcdir/binaries"
|
||||
cd "$srcdir/binaries"
|
||||
git submodule update --init --recursive
|
||||
;;
|
||||
|
||||
0 ) exit 0
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
# This script is public domain. Use it at your own risk.
|
||||
|
||||
# $VER: gimmearos.sh 1.15 (01.09.2019)
|
||||
# $VER: gimmearos.sh 1.16 (18.01.2020)
|
||||
|
||||
curdir="`pwd`"
|
||||
srcdir="aros-src"
|
||||
|
@ -211,11 +211,12 @@ case "$input" in
|
|||
;;
|
||||
esac
|
||||
|
||||
cd "$curdir"
|
||||
|
||||
input=""
|
||||
until [ "$input" = "9" ]
|
||||
do
|
||||
cd "$curdir"
|
||||
|
||||
echo -e "\n\n\n\n\n"
|
||||
echo -e "******************************************************"
|
||||
echo -e "* Step 2: get the sources from the GITHUB repository *"
|
||||
|
@ -234,18 +235,28 @@ do
|
|||
case "$input" in
|
||||
1 ) echo -e "\nGetting AROS V1 core with Git...\n"
|
||||
git clone https://github.com/aros-development-team/AROS.git "$srcdir"
|
||||
cd "$srcdir"
|
||||
git submodule update --init --recursive
|
||||
;;
|
||||
2 ) echo -e "\nGetting contrib V1 with Git...\n"
|
||||
git clone https://github.com/aros-development-team/contrib.git "$srcdir/contrib"
|
||||
cd "$srcdir/contrib"
|
||||
git submodule update --init --recursive
|
||||
;;
|
||||
3 ) echo -e "\nGetting ports V1 with Git...\n"
|
||||
git clone https://github.com/aros-development-team/ports.git "$srcdir/ports"
|
||||
cd "$srcdir/ports"
|
||||
git submodule update --init --recursive
|
||||
;;
|
||||
4 ) echo -e "\nGetting documentation V1 with Git...\n"
|
||||
git clone https://github.com/aros-development-team/documentation.git "$srcdir/documentation"
|
||||
cd "$srcdir/documentation"
|
||||
git submodule update --init --recursive
|
||||
;;
|
||||
5 ) echo -e "\nGetting binaries V1 with Git...\n"
|
||||
git clone https://github.com/aros-development-team/binaries.git "$srcdir/binaries"
|
||||
cd "$srcdir/binaries"
|
||||
git submodule update --init --recursive
|
||||
;;
|
||||
|
||||
0 ) exit 0
|
||||
|
@ -253,8 +264,6 @@ do
|
|||
esac
|
||||
done
|
||||
|
||||
cd "$curdir"
|
||||
|
||||
|
||||
input=""
|
||||
until [ "$input" = "9" ]
|
||||
|
@ -335,8 +344,6 @@ do
|
|||
done
|
||||
|
||||
|
||||
cd "$curdir"
|
||||
|
||||
input=""
|
||||
until [ "$input" = "9" ]
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue