From 090384d9e74fddfdd38f4fd54b3dd39f5d5a8b24 Mon Sep 17 00:00:00 2001 From: Stefan Wiehler Date: Mon, 2 Aug 2021 08:28:05 +0200 Subject: dev-manual: fix source release example script (From yocto-docs rev: 6c939a3bbc9116d32c73df58f60ceb4809328eb3) Signed-off-by: Stefan Wiehler Reviewed-by: Michael Opdenacker Signed-off-by: Richard Purdie --- documentation/dev-manual/common-tasks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation') diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst index 5600076b7d..77af03b3ca 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 -- cgit v1.2.3-54-g00ecf