aboutsummaryrefslogtreecommitdiff
path: root/package/pkg-utils.mk
diff options
context:
space:
mode:
authorGravatar Maxime Hadjinlian <maxime.hadjinlian@gmail.com>2014-05-21 10:25:10 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-21 10:45:15 +0200
commit9725c5aefc5861e7eb9736f9228265a5d1a7e998 (patch)
tree8e1692c3ece0dc64e48e54ad05975e5bb5e73def /package/pkg-utils.mk
parent6b9bc5fe407c519b048faea22468d59cadec49a1 (diff)
downloadbuildroot-9725c5aefc5861e7eb9736f9228265a5d1a7e998.tar.gz
buildroot-9725c5aefc5861e7eb9736f9228265a5d1a7e998.tar.bz2
infra: pkg-utils.mk replace "echo -e" with printf
printf is POSIX-compliant, echo -e is not. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/pkg-utils.mk')
-rw-r--r--package/pkg-utils.mk4
1 files 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}