Changes the license generation to use SPDX "AND" instead of "&"

Signed-off-by: Joshua Watt <[email protected]>
---
 meta/classes-recipe/go-mod-update-modules.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/go-mod-update-modules.bbclass 
b/meta/classes-recipe/go-mod-update-modules.bbclass
index 0083588a25..0dda716c65 100644
--- a/meta/classes-recipe/go-mod-update-modules.bbclass
+++ b/meta/classes-recipe/go-mod-update-modules.bbclass
@@ -92,7 +92,7 @@ python do_update_modules() {
         licenses_filename = os.path.join(thisdir, f"{bpn}-licenses.inc")
         with open(licenses_filename, "w") as f:
             f.write(notice)
-            f.write(f'LICENSE += "& {" & 
".join(tidy_licenses(licenses))}"\n\n')
+            f.write(f'LICENSE += "AND {" AND 
".join(tidy_licenses(licenses))}"\n\n')
             f.write('LIC_FILES_CHKSUM += "\\\n')
             for lic in sorted(lic_files_chksum, key=fold_uri):
                 f.write('    ' + lic + ' \\\n')
-- 
2.54.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240926): 
https://lists.openembedded.org/g/openembedded-core/message/240926
Mute This Topic: https://lists.openembedded.org/mt/120270861/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to