make: fix green prints

Previous version produces escapped sequnces as text (Debian 12).
This commit is contained in:
Boris Nagaev 2025-09-26 00:32:29 -03:00
parent f70678f863
commit 8a357059f0
No known key found for this signature in database

View file

@ -50,10 +50,10 @@ DOCKER_RELEASE_BUILDER = docker run \
-e LOOPBUILDSYS='$(buildsys)' \
loop-release-builder
GREEN := "\\033[0;32m"
NC := "\\033[0m"
GREEN=\033[0;32m
NC=\033[0m
define print
echo $(GREEN)$1$(NC)
@printf '%b%s%b\n' '${GREEN}' $1 '${NC}'
endef
# ============