Skip to content

Commit 8a35705

Browse files
committed
make: fix green prints
Previous version produces escapped sequnces as text (Debian 12).
1 parent f70678f commit 8a35705

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ DOCKER_RELEASE_BUILDER = docker run \
5050
-e LOOPBUILDSYS='$(buildsys)' \
5151
loop-release-builder
5252

53-
GREEN := "\\033[0;32m"
54-
NC := "\\033[0m"
53+
GREEN=\033[0;32m
54+
NC=\033[0m
5555
define print
56-
echo $(GREEN)$1$(NC)
56+
@printf '%b%s%b\n' '${GREEN}' $1 '${NC}'
5757
endef
5858

5959
# ============

0 commit comments

Comments
 (0)