Fix bash synxtax for index parameter expansion

ubuntu-core-desktop-noble
Utkarsh Gupta 9 months ago
parent 5b06864cea
commit 9000cfd8e1

@ -434,7 +434,7 @@ EOF
if [ -n "$BUILDSTAMP" ]; then if [ -n "$BUILDSTAMP" ]; then
mkdir -p chroot/etc/cloud mkdir -p chroot/etc/cloud
cat > chroot/etc/cloud/build.info << EOF cat > chroot/etc/cloud/build.info << EOF
build_name: $PROJECT:${SUBPROJECT:} build_name: $PROJECT:${SUBPROJECT:-}
serial: $BUILDSTAMP serial: $BUILDSTAMP
EOF EOF
if [ "${PROJECT}" = "ubuntu-oci" ]; then if [ "${PROJECT}" = "ubuntu-oci" ]; then

Loading…
Cancel
Save