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

Signed-off-by: Kevin Strasser <kevin.stras...@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

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to