<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10003</bug_id>
          
          <creation_ts>2016-07-22 13:49:39 +0000</creation_ts>
          <short_desc>Mention what happens when non-existent variables are expanded</short_desc>
          <delta_ts>2016-07-22 17:01:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>BitBake User Manual</product>
          <component>bitbake-manual</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>22 July 2016: IN PROGRESS REVIEW</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ulfalizer</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64348</commentid>
    <comment_count>0</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-07-22 13:49:39 +0000</bug_when>
    <thetext>Hello,

I suggest adding the following to the end of 3.1.2. Variable Expansion:

  If the variable expansion syntax is used on a variable that
  does not exist, the string is kept as is. For example, if FOO
  does not exist, the following assignment will set BAR to the
  literal string &quot;${FOO}&quot;:

    BAR = &quot;${FOO}&quot;

Cheers,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64349</commentid>
    <comment_count>1</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-07-22 13:51:47 +0000</bug_when>
    <thetext>Version 2:

  If the variable expansion syntax is used on a variable that
  does not exist, the string is kept as is. For example, if FOO
  does not exist, the following assignment will make BAR expand
  to the literal string &quot;${FOO}&quot;:

    BAR = &quot;${FOO}&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64350</commentid>
    <comment_count>2</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-07-22 13:57:46 +0000</bug_when>
    <thetext>Final version:

  If the variable expansion syntax is used on a variable that does not exist,
  the string is kept as is. For example, given the following assignment, BAR
  will expand to the literal string &quot;${FOO}&quot; as long as FOO does not exist.

    BAR = &quot;${FOO}&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64360</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-07-22 15:38:41 +0000</bug_when>
    <thetext>Ulf, 

See http://www.yoctoproject.org/docs/2.2/bitbake-user-manual/bitbake-user-manual.html#variable-expansion for the new addition. 

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64371</commentid>
    <comment_count>4</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-07-22 16:20:58 +0000</bug_when>
    <thetext>Looks good. Thanks!

Cheers,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64374</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-07-22 17:01:06 +0000</bug_when>
    <thetext>Thanks... closing</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>