[yocto] [yocto-docs][PATCH 2/3] dev-manual: fix gpl source release example

Kevin Strasser kevin.strasser at linux.intel.com
Mon Jan 28 15:06:50 PST 2013


The example doesn't account for an extra level of directories
that organise the sources by machine type.

Signed-off-by: Kevin Strasser <kevin.strasser at linux.intel.com>
---
 .../dev-manual/dev-manual-common-tasks.xml         |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index e7d5d02..30751e3 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -2968,7 +2968,7 @@
                 <literallayout class='monospaced'>
      $ cd poky/build/tmp/deploy/sources
      $ mkdir ~/gpl_source_release
-     $ for x in `ls|grep GPL`; do cp -R $x/* ~/gpl_source_release; done
+     $ for dir in */*GPL*; do cp -r $dir ~/gpl_source_release; done
                 </literallayout>
                 At this point, you could create a tarball from the
                 <filename>gpl_source_release</filename> directory and
-- 
1.7.9.5




More information about the yocto mailing list