Bundle: Initialize submodules after checkout to branch
Ensures we've got benchmark submodule initialized.
This commit is contained in:
@@ -215,7 +215,6 @@ fi
|
||||
################################################################################
|
||||
# Check out benchmark repository.
|
||||
|
||||
|
||||
if [ -d "${SVN_BENCHMARK_CHECKOUT_DIRECTORY}" ]; then
|
||||
echo "Updating benchmark scenes..."
|
||||
"${SVN}" up "${SVN_BENCHMARK_CHECKOUT_DIRECTORY}"
|
||||
@@ -249,8 +248,11 @@ if [ ! -d "${SOURCE_DIRECTORY}" ]; then
|
||||
${GIT_C} submodule update --init --recursive
|
||||
fi
|
||||
|
||||
echo "Checking to a latest benchmark branch..."
|
||||
echo "Switching to benchmark branch..."
|
||||
${GIT_C} checkout ${GIT_BENCHMARK_BRANCH}
|
||||
echo "Initializing branch submodules..."
|
||||
${GIT_C} submodule update --init --recursive
|
||||
echo "Checking to a latest branch..."
|
||||
${GIT_C} pull
|
||||
echo "Updatying submodules to the latest version..."
|
||||
${GIT_C} submodule update --remote
|
||||
|
Reference in New Issue
Block a user