legal-info: quote csv file contents, so commas can be used
authorArnout Vandecappelle <arnout@mind.be>
Tue, 13 Nov 2012 02:00:46 +0000 (02:00 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 14 Nov 2012 21:43:45 +0000 (22:43 +0100)
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/pkg-utils.mk

index 293bf4f129f22c44166c6cc48f832215e546c1de..835c588af02cb00e7ac9193ed694696eb052e69b 100644 (file)
@@ -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)