aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-02-17 19:29:08 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-02-17 19:30:34 +0100
commitd0b45962ef63903cc9d3895dda0b2777a0c08acf (patch)
tree00f85c1eecc0ecdc4ada5be06d35022453064ffc
parenta0dfab220d969d4009b0b116a6f60d582f609b1a (diff)
downloadupstream-d0b45962ef63903cc9d3895dda0b2777a0c08acf.tar.gz
upstream-d0b45962ef63903cc9d3895dda0b2777a0c08acf.tar.bz2
upstream-d0b45962ef63903cc9d3895dda0b2777a0c08acf.zip
build: Fix print without color
The original patch removed the printing completely, just remove the color. Fixes: eabc1ddc4541 ("build: Honour NO_COLOR in include/scan.mk") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--include/scan.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scan.mk b/include/scan.mk
index 724dbfaf17..d9cd4f7e8c 100644
--- a/include/scan.mk
+++ b/include/scan.mk
@@ -25,7 +25,7 @@ ifeq ($(IS_TTY),1)
endef
else
define progress
- :;
+ printf "\r$(1)" >&2;
endef
endif
else