* [PATCH] dev-manual: fix source release example script
@ 2021-08-02 6:28 Stefan Wiehler
2021-08-02 8:39 ` [docs] " Michael Opdenacker
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Wiehler @ 2021-08-02 6:28 UTC (permalink / raw)
To: docs; +Cc: Stefan Wiehler
Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
---
documentation/dev-manual/common-tasks.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst
index 5600076b7..77af03b3c 100644
--- a/documentation/dev-manual/common-tasks.rst
+++ b/documentation/dev-manual/common-tasks.rst
@@ -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
--
2.29.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [docs] [PATCH] dev-manual: fix source release example script
2021-08-02 6:28 [PATCH] dev-manual: fix source release example script Stefan Wiehler
@ 2021-08-02 8:39 ` Michael Opdenacker
0 siblings, 0 replies; 2+ messages in thread
From: Michael Opdenacker @ 2021-08-02 8:39 UTC (permalink / raw)
To: Stefan Wiehler, docs
Hi Stefan,
On 8/2/21 8:28 AM, Stefan Wiehler wrote:
> Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
> ---
> documentation/dev-manual/common-tasks.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst
> index 5600076b7..77af03b3c 100644
> --- a/documentation/dev-manual/common-tasks.rst
> +++ b/documentation/dev-manual/common-tasks.rst
> @@ -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 <michael.opdenacker@bootlin.com>
I merged it into the "master-next" branch of "yocto-docs", which is
merged into "master" about once a week.
Thanks again,
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-02 8:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 6:28 [PATCH] dev-manual: fix source release example script Stefan Wiehler
2021-08-02 8:39 ` [docs] " Michael Opdenacker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.