summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2012-11-13 02:00:46 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-11-14 21:43:45 (GMT)
commitf876cb598b78d31ca480e0f0ad0eb61d4e6c146f (patch)
tree745291e424b48e969f9639400f1e434ff7048f2f
parent7a5f9293a1195020def8516bfafe8e69bab51a00 (diff)
downloadbuildroot-f876cb598b78d31ca480e0f0ad0eb61d4e6c146f.tar.gz
buildroot-f876cb598b78d31ca480e0f0ad0eb61d4e6c146f.tar.bz2
legal-info: quote csv file contents, so commas can be used
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/pkg-utils.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk
index 293bf4f..835c588 100644
--- a/package/pkg-utils.mk
+++ b/package/pkg-utils.mk
@@ -94,7 +94,7 @@ legal-warning-pkg=echo "WARNING: $(1): $(2)" >>$(LEGAL_WARNINGS)
define legal-warning-pkg-savednothing # pkg, {local|override}
$(call legal-warning-pkg,$(1),sources and license files not saved ($(2) packages not handled))
endef
-legal-manifest=echo "$(1),$(2),$(3),$(4),$(5)" >>$(LEGAL_MANIFEST_CSV)
+legal-manifest=echo '"$(1)","$(2)","$(3)","$(4)","$(5)"' >>$(LEGAL_MANIFEST_CSV)
define legal-license-header
echo -e "$(LEGAL_INFO_SEPARATOR)\n\t$(1):" \
"$(2)\n$(LEGAL_INFO_SEPARATOR)\n\n" >>$(LEGAL_LICENSES_TXT)