dev-manual: fix source release example script
PATCH 1/1 dev-manual: fix source release example script
Signed-off-by Stefan Wiehler <[email protected]>
--- documentation/dev-manual/common-tasks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/dev-manual/common-tasks.rst +1 -1
@@ -10929,7 +10929,7 @@ concerned with GPL code as identified by running the following script: p=${p%-*} # Only archive GPL packages (update *GPL* regex for your license check) numfiles=`ls tmp/deploy/licenses/$p/*GPL* 2> /dev/null | wc -l` - if [ $numfiles -gt 1 ]; then + if [ $numfiles -ge 1 ]; then echo Archiving $p mkdir -p $src_release_dir/$p/source cp $d/* $src_release_dir/$p/source 2> /dev/null
Signature · 1 line
2.29.2
Hi Stefan,
Quoted 10 lines · Stefan Wiehler
Signed-off-by Stefan Wiehler <[email protected]>--- documentation/dev-manual/common-tasks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)documentation/dev-manual/common-tasks.rst +0
-0
documentation/dev-manual/common-tasks.rst concerned with GPL code as identified by running the following script: · line 10935
Quoted 8 lines
documentation/dev-manual/common-tasks.rst +1
-1@@ -10929,7 +10929,7 @@ concerned with GPL code as identified by running the following script: p=${p%-*} # Only archive GPL packages (update *GPL* regex for your license check) numfiles=`ls tmp/deploy/licenses/$p/*GPL* 2> /dev/null | wc -l` - if [ $numfiles -gt 1 ]; then + if [ $numfiles -ge 1 ]; then echo Archiving $p mkdir -p $src_release_dir/$p/source cp $d/* $src_release_dir/$p/source 2> /dev/null
Good catch, thanks for the patch!
Reviewed-by Michael Opdenacker <[email protected]>
I merged it into the "master-next" branch of "yocto-docs", which is merged into "master" about once a week.
Thanks again,
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com