diff options
author | Maxime Hadjinlian <maxime.hadjinlian@gmail.com> | 2014-05-21 10:25:10 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-05-21 10:45:15 +0200 |
commit | 9725c5aefc5861e7eb9736f9228265a5d1a7e998 (patch) | |
tree | 8e1692c3ece0dc64e48e54ad05975e5bb5e73def /package/pkg-utils.mk | |
parent | 6b9bc5fe407c519b048faea22468d59cadec49a1 (diff) |
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.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index da3f0fc31..c627a6485 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} |