git: 330089470f56 - main - nanobsd: Fix the fix to a typo

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Thu, 21 Dec 2023 18:15:31 UTC
The branch main has been updated by glebius:

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

commit 330089470f56d502c629352b85e11522691e3368
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2023-12-21 18:13:44 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2023-12-21 18:13:44 +0000

    nanobsd: Fix the fix to a typo
    
    Submitted by:           jlduran@gmail.com
    Reviewed by:            imp, glebius, emaste
    PR:                     275691
    Differential Revision:  https://reviews.freebsd.org/D43035
    Fixes:                  d8c70d6dfb65218dd3272b34512083621d3ed46d
---
 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 1fa7a74fd27b..165c967de807 100755
--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -884,7 +884,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}