From d4328e2df355252870c3bf01031538a77795cedb Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 4 Mar 2014 14:03:01 -0600 Subject: [PATCH] user-manual-metadata.xml: Added BB_ORIGENV example. Signed-off-by: Scott Rifenbark --- doc/user-manual/user-manual-metadata.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/user-manual/user-manual-metadata.xml b/doc/user-manual/user-manual-metadata.xml index 6736bc7b779..748b959d988 100644 --- a/doc/user-manual/user-manual-metadata.xml +++ b/doc/user-manual/user-manual-metadata.xml @@ -896,6 +896,15 @@ such as getVar(). The datastore object is useful, for example, to find the original DISPLAY variable. + Here is an example: + + BB_ORIGENV - add example? + + origenv = d.getVar("BB_ORIGENV", False) + bar = origenv.getVar("BAR", False) + + The previous example returns BAR from the original + execution environment. -- 2.47.3