From 9725c5aefc5861e7eb9736f9228265a5d1a7e998 Mon Sep 17 00:00:00 2001 From: Maxime Hadjinlian Date: Wed, 21 May 2014 10:25:10 +0200 Subject: [PATCH] infra: pkg-utils.mk replace "echo -e" with printf printf is POSIX-compliant, echo -e is not. Signed-off-by: Maxime Hadjinlian Cc: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- package/pkg-utils.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index da3f0fc318..c627a6485e 100644 --- a/package/pkg-utils.mk +++ b/package/pkg-utils.mk @@ -110,8 +110,8 @@ define legal-manifest # pkg, version, license, license-files, source, {HOST|TARG endef define legal-license-header # pkg, license-file, {HOST|TARGET} - echo -e "$(LEGAL_INFO_SEPARATOR)\n\t$(1):" \ - "$(2)\n$(LEGAL_INFO_SEPARATOR)\n\n" >>$(LEGAL_LICENSES_TXT_$(3)) + printf "$(LEGAL_INFO_SEPARATOR)\n\t$(1):\ + $(2)\n$(LEGAL_INFO_SEPARATOR)\n\n\n" >>$(LEGAL_LICENSES_TXT_$(3)) endef define legal-license-nofiles # pkg, {HOST|TARGET} -- 2.30.2