Merge pull request #705 from elezar/remove-libnvidia-contianer-update-check

[no-relnote] Don't check for submodule changes
This commit is contained in:
Evan Lezar 2024-09-20 20:50:17 +02:00 committed by GitHub
commit 53c2dc6301
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,17 +31,8 @@ else
targets=${all[@]}
fi
if [[ x"${SKIP_UPDATE_COMPONENTS}" != x"yes" ]]; then
echo "Updating components"
"${SCRIPTS_DIR}/update-components.sh"
if [[ -n $(git status -s third_party) && ${ALLOW_LOCAL_COMPONENT_CHANGES} != "true" ]]; then
echo "ERROR: Building with local component changes."
echo "Commit pending changes or rerun with ALLOW_LOCAL_COMPONENT_CHANGES='true'"
exit 1
fi
else
echo "Skipping update of components"
fi
git submodule update --init
git submodule status
eval $(${SCRIPTS_DIR}/get-component-versions.sh)