From 602bcf3185eed1254a42b82bec87677018558d24 Mon Sep 17 00:00:00 2001 From: Florent Chehab Date: Wed, 25 Feb 2026 17:44:28 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9(devex)=20fix=20Makefile=20special?= =?UTF-8?q?=20character=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e931fd75..cdc5261f 100644 --- a/Makefile +++ b/Makefile @@ -23,9 +23,10 @@ # ============================================================================== # VARIABLES -BOLD := \033[1m -RESET := \033[0m -GREEN := \033[1;32m +ESC := $(shell printf '\033') +BOLD := $(ESC)[1m +RESET := $(ESC)[0m +GREEN := $(ESC)[1;32m # -- Database