From 9000cfd8e19f05d0f2822f9f9f410fb9144cdd9f Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta Date: Wed, 13 Mar 2024 18:43:48 +0530 Subject: [PATCH] Fix bash synxtax for index parameter expansion --- live-build/auto/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/auto/build b/live-build/auto/build index ec7ca52a..5e2eeef4 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -434,7 +434,7 @@ EOF if [ -n "$BUILDSTAMP" ]; then mkdir -p chroot/etc/cloud cat > chroot/etc/cloud/build.info << EOF -build_name: $PROJECT:${SUBPROJECT:} +build_name: $PROJECT:${SUBPROJECT:-} serial: $BUILDSTAMP EOF if [ "${PROJECT}" = "ubuntu-oci" ]; then