Bundle: Better approach for previous commit
Saves some submodule checkout, which is especially slow on WIndows for some reason.
This commit is contained in:
@@ -244,14 +244,15 @@ GIT_C="${GIT} -C ${SOURCE_DIRECTORY}"
|
||||
if [ ! -d "${SOURCE_DIRECTORY}" ]; then
|
||||
echo "Checking out Blender.git..."
|
||||
${GIT} clone "${GIT_BLENDER_REPOSITORY}" "${SOURCE_DIRECTORY}"
|
||||
echo "Switching to benchmark branch..."
|
||||
${GIT_C} checkout ${GIT_BENCHMARK_BRANCH}
|
||||
echo "Initializing submodules..."
|
||||
${GIT_C} submodule update --init --recursive
|
||||
else
|
||||
echo "Switching to benchmark branch..."
|
||||
${GIT_C} checkout ${GIT_BENCHMARK_BRANCH}
|
||||
fi
|
||||
|
||||
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..."
|
||||
|
Reference in New Issue
Block a user