From 2aded7dd552ee71455167287e2fec1d46023c3ca Mon Sep 17 00:00:00 2001 From: Brian Egizi Date: Fri, 21 May 2021 00:50:21 +0000 Subject: [PATCH] Fix unbound variable in kzip script Change-Id: Id7f81677389cb853da064a43f1d5d54b2271f0c0 --- build_kzip.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_kzip.bash b/build_kzip.bash index 786ff7656..56550677f 100755 --- a/build_kzip.bash +++ b/build_kzip.bash @@ -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