diff --git a/bundle/bundle-linux.sh b/bundle/bundle-linux.sh index f69ed1d..5f44921 100755 --- a/bundle/bundle-linux.sh +++ b/bundle/bundle-linux.sh @@ -278,6 +278,13 @@ ${GIT_C} pull echo "Updatying submodules to the latest version..." ${GIT_C} submodule update --remote --init --recursive + +# The release/scripts/benchmark submodule should be on the correct branch (usually release-xxx) +BM_BRANCH=$(${GIT} -C ${SCRIPTPATH} rev-parse --abbrev-ref HEAD) +echo "Forcing release/scripts/benchmark to $BM_BRANCH branch..." +${GIT} -C ${SOURCE_DIRECTORY}/release/scripts/benchmark checkout ${BM_BRANCH} + + if [ "${KERNEL_NAME}" == "Darwin" ]; then # Get precompiled libs cd "${SOURCE_DIRECTORY}"