Openembedded Core Discussions
 help / color / mirror / Atom feed
* why does oe-buildenv-internal check for -z "$BDIR"?
@ 2020-04-18 16:04 Robert P. J. Day
  2020-04-18 16:30 ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 13+ messages in thread
From: Robert P. J. Day @ 2020-04-18 16:04 UTC (permalink / raw)
  To: OE Core mailing list


  perusing the OE init scripts, and noticed this in
oe-buildenv-internal, line 42:

if [ -z "$BDIR" ]; then
    if [ -z "$1" ]; then
        BDIR="build"
    else
        BDIR="$1"
    ... snip ...

  i'm curious ... under what circumstances would BDIR *not* be unset
(or not be the empty string) at that point? i'm just puzzled as to a
possible flow of control that gets to that point where BDIR has a
non-empty value, since i've never seen any mention in the docs about
such a possibility.

  doesn't hurt, of course, just not sure what that test is trying to
accomplish.

rday

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-04-19 13:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-18 16:04 why does oe-buildenv-internal check for -z "$BDIR"? Robert P. J. Day
2020-04-18 16:30 ` [OE-core] " Richard Purdie
2020-04-18 16:43   ` Robert P. J. Day
2020-04-18 17:08     ` Chris Laplante
2020-04-18 17:23       ` Robert P. J. Day
2020-04-18 18:45         ` Peter Kjellerstedt
2020-04-18 18:55           ` Robert P. J. Day
2020-04-18 20:10           ` Robert P. J. Day
2020-04-18 22:13             ` Christopher Larson
2020-04-18 22:17               ` Robert P. J. Day
2020-04-18 23:39                 ` Richard Purdie
2020-04-19 13:11                   ` Robert P. J. Day
2020-04-18 22:19               ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox