Skip to content

Commit 6780a75

Browse files
committed
improve yocto license generator
1 parent 91b589a commit 6780a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ update-vendor:
5555
# Print yocto licensing string
5656
print-yocto-licenses:
5757
@echo 'LIC_FILES_CHKSUM = " \'
58-
@find vendor -name "LICENSE*" -exec bash -c 'echo -n " file://src/github.com/thin-edge/tedge-container-plugin/{};md5=" && md5 -q {}' \; 2>/dev/null | sed 's|$| \\|g'
58+
@find . -name "LICENSE*" -exec bash -c 'echo -n " file://src/\${GO_IMPORT}/{};md5=" && md5 -q {}' \; 2>/dev/null | grep -v "/\.venv/" | sed 's|$| \\|g' | sed 's|/\./|/|g'
5959
@echo '"'

0 commit comments

Comments
 (0)