mirror of
https://github.com/libretro/libretro-super
synced 2025-01-27 06:35:23 +00:00
fix submodules
This commit is contained in:
parent
72e5dd930a
commit
ff72a78d15
@ -1417,16 +1417,18 @@ if [ "${PLATFORM}" = "android" ] && [ "${RA}" = "YES" ]; then
|
||||
else
|
||||
echo "cloning repo..."
|
||||
cd $PARENTDIR
|
||||
echo REPO TYPE: $TYPE
|
||||
git clone "$URL" "$DIR" --depth=1
|
||||
if [ "${TYPE}" == "SUBMODULE" ]; then
|
||||
|
||||
if [ "${TYPE}" = "PROJECT" ]; then
|
||||
BUILD="YES"
|
||||
RADIR=$DIR
|
||||
elif [ "${TYPE}" == "SUBMODULE" ]; then
|
||||
cd $PARENTDIR
|
||||
cd $DIR
|
||||
echo "updating submodules..."
|
||||
git submodule update --init
|
||||
git submodule foreach git pull origin master
|
||||
fi
|
||||
cd $DIR
|
||||
if [ "${TYPE}" = "PROJECT" ]; then
|
||||
BUILD="YES"
|
||||
BUILD="YES"
|
||||
RADIR=$DIR
|
||||
fi
|
||||
cd $WORK
|
||||
|
Loading…
x
Reference in New Issue
Block a user