Skip update of components on SKIP_UPDATE_COMPONENTS=yes

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2023-05-23 20:34:20 +02:00
parent e7d2a9c212
commit 8ca606f7ac

View File

@ -31,7 +31,7 @@ else
targets=${all[@]}
fi
if [[ -z ${SKIP_UPDATE_COMPONENTS} ]]; then
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