scripts/mkits.sh: replace forgotten '-' with ${REFERENCE_CHAR}
authorDaniel Golle <daniel@makrotopia.org>
Wed, 23 Mar 2022 19:34:06 +0000 (19:34 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 27 Mar 2022 15:14:00 +0000 (16:14 +0100)
Cosmetical change to improve style in mkits.sh.

Fixes: fd679086473 ("scripts: mkits.sh: Allow legacy @ mode for dts creation")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit e89c85249e311e9a376d07cda33c9dc39b12a906)

scripts/mkits.sh

index f6699384ee6b14ba2cd95d199c6051e10f4ae87a..7bf5681addf097c40e60a93131e6836fdd37a193 100755 (executable)
@@ -137,7 +137,7 @@ fi
 if [ -n "${ROOTFS}" ]; then
        dd if="${ROOTFS}" of="${ROOTFS}.pagesync" bs=4096 conv=sync
        ROOTFS_NODE="
-               rootfs-$ROOTFSNUM {
+               rootfs${REFERENCE_CHAR}$ROOTFSNUM {
                        description = \"${ARCH_UPPER} OpenWrt ${DEVICE} rootfs\";
                        ${COMPATIBLE_PROP}
                        data = /incbin/(\"${ROOTFS}.pagesync\");