[Bug 275691] NanoBSD build broken due to wrong fix

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Dec 2023 11:15:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275691

            Bug ID: 275691
           Summary: NanoBSD build broken due to wrong fix
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: wout@canodus.be

d8c70d6dfb65 fixes a typo that was introduced in cbf64e2dd59c but creates a
wrong value for NANO_OBJ.

The fix adds an extra } after the first NANO_LAYOUT but this should have been
added at the end like so:

: ${NANO_OBJ:=/usr/obj/nanobsd.${NANO_NAME}${NANO_LAYOUT:+.${NANO_LAYOUT}}}

Otherwise, NANO_OBJ will be:

/usr/obj/nanobsd.NANO_NAMENANO_LAYOUT:+.NANO_LAYOUT
or
/usr/obj/nanobsd.NANO_NAME:+.

instead of:

/usr/obj/nanobsd.NANO_NAME.NANO_LAYOUT
or
/usr/obj/nanobsd.NANO_NAME

-- 
You are receiving this mail because:
You are the assignee for the bug.