mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-24 21:14:00 +00:00
Merge pull request #705 from elezar/remove-libnvidia-contianer-update-check
[no-relnote] Don't check for submodule changes
This commit is contained in:
commit
53c2dc6301
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user