🩹(devex) fix Makefile special character support

Under some shells echo doesn't work as expected with the special formatting.

Using printf when creating the variables make it work and should be more robust.
This commit is contained in:
Florent Chehab
2026-02-25 17:44:28 +01:00
committed by aleb_the_flash
parent f5e0ddf692
commit 602bcf3185

View File

@@ -23,9 +23,10 @@
# ============================================================================== # ==============================================================================
# VARIABLES # VARIABLES
BOLD := \033[1m ESC := $(shell printf '\033')
RESET := \033[0m BOLD := $(ESC)[1m
GREEN := \033[1;32m RESET := $(ESC)[0m
GREEN := $(ESC)[1;32m
# -- Database # -- Database