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>
This commit is contained in:
parent
6b9bc5fe40
commit
9725c5aefc
@ -110,8 +110,8 @@ define legal-manifest # pkg, version, license, license-files, source, {HOST|TARG
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define legal-license-header # pkg, license-file, {HOST|TARGET}
|
define legal-license-header # pkg, license-file, {HOST|TARGET}
|
||||||
echo -e "$(LEGAL_INFO_SEPARATOR)\n\t$(1):" \
|
printf "$(LEGAL_INFO_SEPARATOR)\n\t$(1):\
|
||||||
"$(2)\n$(LEGAL_INFO_SEPARATOR)\n\n" >>$(LEGAL_LICENSES_TXT_$(3))
|
$(2)\n$(LEGAL_INFO_SEPARATOR)\n\n\n" >>$(LEGAL_LICENSES_TXT_$(3))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define legal-license-nofiles # pkg, {HOST|TARGET}
|
define legal-license-nofiles # pkg, {HOST|TARGET}
|
||||||
|
Loading…
Reference in New Issue
Block a user