вывод из самбомудлей модов для азероткор
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
# README
|
||||
#
|
||||
# This script is used to automatically update
|
||||
# submodules and subrepos included in this project
|
||||
# Subrepo are updated in bidirectional way (pull + push)
|
||||
# vendored dependencies and subrepos included in this project.
|
||||
# Subrepos are updated in bidirectional way (pull + push)
|
||||
# because they are intended to be developed by this organization
|
||||
#
|
||||
# NOTE: only maintainers and CI should run this script and
|
||||
@@ -16,9 +16,11 @@
|
||||
|
||||
set -e
|
||||
ROOT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../../"
|
||||
# update all submodules
|
||||
git submodule update --init --recursive
|
||||
git submodule foreach git pull origin master
|
||||
# Update submodules only if the repository still uses them.
|
||||
if [ -f "$ROOT_PATH/.gitmodules" ]; then
|
||||
git submodule update --init --recursive
|
||||
git submodule foreach git pull origin master
|
||||
fi
|
||||
# include libraries for git subrepo
|
||||
source "$ROOT_PATH/deps/git-subrepo/.rc"
|
||||
source "$ROOT_PATH/deps/acore/bash-lib/src/git-utils/subrepo.sh"
|
||||
|
||||
Reference in New Issue
Block a user