git: d8c70d6dfb65 - main - nanobsd: fix typo

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Mon, 27 Feb 2023 19:26:52 UTC
The branch main has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=d8c70d6dfb65218dd3272b34512083621d3ed46d

commit d8c70d6dfb65218dd3272b34512083621d3ed46d
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2023-02-27 19:26:18 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2023-02-27 19:26:18 +0000

    nanobsd: fix typo
    
    Fixes:  cbf64e2dd59c3579c49acbc52659eaa1ddceb557
---
 tools/tools/nanobsd/defaults.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh
index cd1e89a0c859..59d0b3917411 100755
--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -885,7 +885,7 @@ export_var ( ) {		# Don't wawnt a subshell
 # Call this function to set defaults _after_ parsing options.
 # dont want a subshell otherwise variable setting is thrown away.
 set_defaults_and_export ( ) {
-	: ${NANO_OBJ:=/usr/obj/nanobsd.${NANO_NAME}${NANO_LAYOUT:+.${NANO_LAYOUT}}
+	: ${NANO_OBJ:=/usr/obj/nanobsd.${NANO_NAME}${NANO_LAYOUT}:+.${NANO_LAYOUT}}
 	: ${MAKEOBJDIRPREFIX:=${NANO_OBJ}}
 	: ${NANO_DISKIMGDIR:=${NANO_OBJ}}
 	: ${NANO_WORLDDIR:=${NANO_OBJ}/_.w}