From fea8144557cccf59842f891a64687d55a63a7c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20M=C3=B6ller?= Date: Tue, 22 Mar 2016 12:30:45 +0100 Subject: [PATCH] Do not have the ugly "-e" printed for CheckTarget The "echo -e" is executed in a newly spawned shell (the enclosing ()s). That shell by default is a bourne shell. And that has a built-in echo that fails to understand the -e option and just prints it. Same for dash. If you set a SHELL=/bin/bash then this would also solve the issue. I had felt that by explicitly executing the binary echo implementation this would be the easiest to grasp. Well. Make your pick. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dfc0f001..d0100aef 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ include $(GLUONDIR)/targets/targets.mk CheckTarget := [ -n '$(GLUON_TARGET)' -a -n '$(GLUON_TARGET_$(GLUON_TARGET)_BOARD)' ] \ - || (echo -e 'Please set GLUON_TARGET to a valid target. Gluon supports the following targets:$(subst $(space),\n * ,$(GLUON_TARGETS))'; false) + || (/bin/echo -e 'Please set GLUON_TARGET to a valid target. Gluon supports the following targets:$(subst $(space),\n * ,$(GLUON_TARGETS))'; false) CheckExternal := test -d $(GLUON_ORIGOPENWRTDIR) || (echo 'You don'"'"'t seem to have obtained the external repositories needed by Gluon; please call `make update` first!'; false)