In a Bitbake recipe file, want to export a variable only if some conditions meet. My initial thought was this.
if [ "${@d.getVar(\'SOMECOND\')}" == &quo