card-helpers.inc: Don't ask bitbake for BITBAKE_TMPDIR if BITBAKE_TMPDIR is set
We need this when running bitbake in container Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -98,8 +98,10 @@ SelectCardDevice() {
|
||||
# DeployFileDir: Path of the file selected
|
||||
SelectDeployedFile() {
|
||||
if [ -z "$DeployedFile" ]; then
|
||||
if [ -z "$BITBAKE_TMPDIR" ]; then
|
||||
GetBitbakeEnvVar "TMPDIR"
|
||||
BITBAKE_TMPDIR="$BitbakeEnvVar"
|
||||
fi
|
||||
# bitbake environment found?
|
||||
if [ -z "$BITBAKE_TMPDIR" ]; then
|
||||
ErrorOut "Bitbake environment variable TMPDIR not found!"
|
||||
|
||||
Reference in New Issue
Block a user