Fix unbound variable in kzip script

Change-Id: Id7f81677389cb853da064a43f1d5d54b2271f0c0
This commit is contained in:
Brian Egizi 2021-05-21 00:50:21 +00:00
parent c3a800f611
commit 2aded7dd55

View file

@ -18,7 +18,7 @@
# If the SUPERPROJECT_REVISION is defined as a sha, use this as the default value if no
# SUPERPROJECT_SHA is specified.
if [[ $SUPERPROJECT_REVISION =~ [0-9a-f]{40} ]]; then
if [[ ${SUPERPROJECT_REVISION:-} =~ [0-9a-f]{40} ]]; then
: ${KZIP_NAME:=${SUPERPROJECT_REVISION:-}}
fi