From: Felix Fietkau Date: Sat, 7 Feb 2015 10:07:05 +0000 (+0000) Subject: include/prereq.mk: fix echo commands with simple /bin/sh X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=64c4ee703a16aea6917ec1aa7820edfce80f89a1;p=openwrt%2Fstaging%2Fnbd.git include/prereq.mk: fix echo commands with simple /bin/sh Signed-off-by: Felix Fietkau SVN-Revision: 44297 --- diff --git a/include/prereq.mk b/include/prereq.mk index 83625e3bf2..9bc5e0dee2 100644 --- a/include/prereq.mk +++ b/include/prereq.mk @@ -30,12 +30,12 @@ define Require prereq: prereq-$(1) prereq-$(1): $(if $(PREREQ_PREV),prereq-$(PREREQ_PREV)) FORCE - echo -n "Checking '$(1)'... " + printf "Checking '$(1)'... " if $(NO_TRACE_MAKE) -f $(firstword $(MAKEFILE_LIST)) check-$(1) >/dev/null 2>/dev/null; then \ echo 'ok.'; \ else \ echo 'failed.'; \ - echo -e "$(PKG_NAME): $(strip $(2))" >> $(TMP_DIR)/.prereq-error; \ + echo "$(PKG_NAME): $(strip $(2))" >> $(TMP_DIR)/.prereq-error; \ fi check-$(1): FORCE